mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
machines/nix: enable autoUpgrade
This commit is contained in:
parent
ed712b28a8
commit
7da4fa1bf1
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue