32 lines
749 B
Nix
32 lines
749 B
Nix
|
_: {
|
||
|
nh = {
|
||
|
enable = true;
|
||
|
clean = {
|
||
|
enable = true;
|
||
|
dates = "weekly";
|
||
|
extraArgs = "--keep-since 3d --keep 5";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
nix = {
|
||
|
settings = {
|
||
|
extra-experimental-features = ["flakes" "nix-command"];
|
||
|
auto-optimise-store = true;
|
||
|
builders-use-substitutes = true;
|
||
|
keep-outputs = true;
|
||
|
allowed-users = ["@wheel"];
|
||
|
trusted-users = ["root" "@wheel"];
|
||
|
substituters = [
|
||
|
"https://cache.flake.sh/kyasshu"
|
||
|
"https://cache.nixos.org"
|
||
|
];
|
||
|
trusted-public-keys = [
|
||
|
"kyasshu:g1heIgCgG7M4San6nRsz/omcVQ1GTc7+zKKm3L9Co7o="
|
||
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
nixpkgs.config.allowUnfree = true;
|
||
|
}
|