From 871d3f95963eac25765427ecca9a8e4812071439 Mon Sep 17 00:00:00 2001 From: ene Date: Wed, 1 Feb 2023 21:33:11 +0100 Subject: Feat: Split the config apart --- services/nix/nix.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 services/nix/nix.nix (limited to 'services/nix/nix.nix') 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"]; + }; + }; +} -- cgit 1.4.1