AutoUpdate : Boot instead of a switch.

This commit is contained in:
Dmitry Voronin 2024-03-03 23:45:56 +03:00
parent 0b7f258ce7
commit c8882354e2

View file

@ -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
'';
};