genesis
This commit is contained in:
commit
82a8c33133
39 changed files with 1079 additions and 0 deletions
18
modules/base/nix.nix
Normal file
18
modules/base/nix.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
flake.modules.nixos.base = {
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
auto-optimise-store = true;
|
||||
};
|
||||
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 14d";
|
||||
};
|
||||
|
||||
optimise.automatic = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue