move nix configuration

This commit is contained in:
2024-12-28 22:09:41 +01:00
parent 04d77743ab
commit 3a7334c3b9
3 changed files with 11 additions and 14 deletions

View File

@ -23,19 +23,6 @@
networking.hostName = "MaxNixosLaptop"; # Define your hostname.
# NIXOS
nix.settings = {
experimental-features = ["nix-command" "flakes"];
substituters = ["https://nix-community.cachix.org" "https://raspberry-pi-nix.cachix.org"];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"raspberry-pi-nix.cachix.org-1:WmV2rdSangxW0rZjY/tBvBDSaNFQ3DyEQsVw8EvHn9o="
];
auto-optimise-store = true;
max-jobs = "auto";
cores = 12;
};
# Define a user account. Don't forget to set a password with passwd.
users.users.max = {
isNormalUser = true;