diff options
author | ene <ene@sils.li> | 2023-02-01 21:33:11 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-03 17:34:11 +0100 |
commit | 871d3f95963eac25765427ecca9a8e4812071439 (patch) | |
tree | 5dcf241ece31050cf0c74219852242abe504e068 /services/nix/nix.nix | |
parent | Build(flake): Added Flake.lock (diff) | |
download | nixos-config-871d3f95963eac25765427ecca9a8e4812071439.tar.gz nixos-config-871d3f95963eac25765427ecca9a8e4812071439.zip |
Feat: Split the config apart
Diffstat (limited to 'services/nix/nix.nix')
-rw-r--r-- | services/nix/nix.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/services/nix/nix.nix b/services/nix/nix.nix new file mode 100644 index 00000000..b94cfc95 --- /dev/null +++ b/services/nix/nix.nix @@ -0,0 +1,18 @@ +{ + config, + lib, + pkgs, + ... +}: { + nix = { + gc = { + automatic = true; + dates = "daily"; + options = "--delete-older-than 3"; + }; + settings = { + auto-optimise-store = true; + experimental-features = ["nix-command" "flakes"]; + }; + }; +} |