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
system.autoUpgrade.flags = [
"--update-input"
"nixpkgs"
"--commit-lock-file"
];
# auto upgrade with own flakes
system.autoUpgrade = {
enable = true;
flake = "github:Stunkymonkey/nixos";
};
environment.systemPackages = with pkgs; [
nix-index