37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
{
|
|
pkgs,
|
|
inputs,
|
|
self,
|
|
...
|
|
}: {
|
|
nix = {
|
|
enable = true;
|
|
package = pkgs.nixUnstable;
|
|
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="
|
|
];
|
|
};
|
|
};
|
|
}
|