From 093cb612282f48d15ba295f109660e47a22f8e39 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Sat, 18 Feb 2023 14:31:33 +0100 Subject: factor out common configuration options --- config/store.nix | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 config/store.nix (limited to 'config/store.nix') diff --git a/config/store.nix b/config/store.nix deleted file mode 100644 index 8efcd5d..0000000 --- a/config/store.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ lib, ... }: - -{ - nix = { - settings = { - auto-optimise-store = true; - experimental-features = [ "nix-command" "flakes" ]; - }; - gc = { - automatic = true; - dates = "daily"; - options = "--delete-old"; - }; - settings.max-jobs = lib.mkDefault 1; - }; - system.autoUpgrade = { - enable = true; - flake = "git+file:///etc/nixos/"; - flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ]; - }; -} -- cgit v1.2.3