update nix settings

This commit is contained in:
Mr Hedgehog 2022-06-15 10:19:40 -04:00
parent 4035643ea0
commit 3d19be8e29
No known key found for this signature in database
2 changed files with 26 additions and 0 deletions

View file

@ -9,5 +9,30 @@
package = pkgs.nixUnstable;
autoOptimiseStore = true;
gc.automatic = true;
settings = {
cores = 0;
auto-optimise-store = true;
trusted-users = [
"root"
"thehedgehog"
"mrhedgehog"
];
trusted-substituters = [
"https://cache.nixos.org"
"https://nixpkgs-wayland.cachix.org"
"https://nix-community.cachix.org"
"https://statix.cachix.org"
"https://nixpkgs-update.cachix.org"
"https://colmena.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"statix.cachix.org-1:Z9E/g1YjCjU117QOOt07OjhljCoRZddiAm4VVESvais="
"nixpkgs-update.cachix.org-1:6y6Z2JdoL3APdu6/+Iy8eZX2ajf09e4EE9SnxSML1W8="
"colmena.cachix.org-1:7BzpDnjjH8ki2CT3f6GdOk7QAzPOl+1t3LvTLXqYcSg="
];
};
};
}

View file

@ -36,6 +36,7 @@
# Load Agenix
inputs.agenix.nixosModule
];
nix.settings.max-jobs = 12;
networking = {
networkmanager = {enable = true;};
wireless = {enable = false;};