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
|
# 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue