diff options
| -rw-r--r-- | config/nix.nix | 5 | ||||
| -rw-r--r-- | config/services/web/quentin/default.nix | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/config/nix.nix b/config/nix.nix index 2a6f2df..a2d25c8 100644 --- a/config/nix.nix +++ b/config/nix.nix @@ -1,10 +1,7 @@ {...}: { personal.nix = { enable = true; - autoUpgrade = { - enable = true; - autoUpdateInputs = ["nixpkgs" "nixpkgs-unstable"]; - }; + autoUpgrade.enable = true; gc.enable = true; flake = "git+file:///etc/nixos/"; remoteBuilds = { diff --git a/config/services/web/quentin/default.nix b/config/services/web/quentin/default.nix index 7344f36..ac617f7 100644 --- a/config/services/web/quentin/default.nix +++ b/config/services/web/quentin/default.nix @@ -1,5 +1,6 @@ { config, + lib, pkgs, ... }: { @@ -15,5 +16,5 @@ }; # automatically fetch (non-structural) website updates when updating the system - personal.nix.autoUpgrade.autoUpdateInputs = ["personal-webpage/data"]; + personal.nix.autoUpgrade.autoUpdateInputs = lib.mkOptionDefault ["personal-webpage/data"]; } |
