AutoUpdate : Boot instead of a switch.
This commit is contained in:
parent
0b7f258ce7
commit
c8882354e2
|
@ -9,7 +9,7 @@
|
|||
git
|
||||
];
|
||||
script = ''
|
||||
${config.system.build.nixos-rebuild}/bin/nixos-rebuild switch --flake "/root/.config/linux/system#$HOSTNAME"
|
||||
${config.system.build.nixos-rebuild}/bin/nixos-rebuild boot --flake "/root/.config/linux/system#$HOSTNAME"
|
||||
${config.nix.package.out}/bin/nix-collect-garbage --delete-older-than 7d
|
||||
'';
|
||||
};
|
||||
|
|
Reference in a new issue