machines/nix: enable autoUpgrade

This commit is contained in:
Felix Buehler 2023-01-29 15:30:13 +01:00
parent ed712b28a8
commit 7da4fa1bf1

View file

@ -27,12 +27,11 @@
}; };
}; };
# support auto upgrade with flakes # auto upgrade with own flakes
system.autoUpgrade.flags = [ system.autoUpgrade = {
"--update-input" enable = true;
"nixpkgs" flake = "github:Stunkymonkey/nixos";
"--commit-lock-file" };
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
nix-index nix-index