diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-11-13 23:19:25 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-11-13 23:24:27 +0100 |
| commit | eeaf101d564adeb58532e5437ba71f228fa73e0c (patch) | |
| tree | b52cdfff7f1140c6b83f1e7f9e95518137d9d893 /config/store.nix | |
| parent | 5bfdfc5f55117e20893e33b397adab9c23b3622e (diff) | |
config: autoUpgrade from flake
Diffstat (limited to 'config/store.nix')
| -rw-r--r-- | config/store.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/store.nix b/config/store.nix index 38d98c5..cc4e15e 100644 --- a/config/store.nix +++ b/config/store.nix @@ -11,5 +11,9 @@ }; settings.max-jobs = lib.mkDefault 1; }; - system.autoUpgrade.enable = true; + system.autoUpgrade = { + enable = true; + flake = "git+file:///etc/nixos/"; + flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ]; + }; } |
