mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
support autoupgrade with flakes
This commit is contained in:
parent
c1a8374e1f
commit
0212bdf4f8
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,12 @@
|
|||
nix.extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
# support auto upgrade with flakes
|
||||
system.autoUpgrade.flags = [
|
||||
"--update-input"
|
||||
"nixpkgs"
|
||||
"--commit-lock-file"
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
nix-prefetch
|
||||
nix-update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue