Cannot update with sudo since it doesn't have the ssh key
This commit is contained in:
parent
1314cc6bd5
commit
c236a32fe4
|
@ -11,7 +11,7 @@ writeShellApplication
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
# An upgrade script for nixos
|
# An upgrade script for nixos
|
||||||
sudo systemd-inhibit --who="NixOS Updater" --why="Updating flake lock" update
|
update
|
||||||
sudo systemd-inhibit --who="NixOS Updater" --why="Updating system configuration" rebuild-no-inhibit
|
sudo systemd-inhibit --who="NixOS Updater" --why="Updating system configuration" rebuild-no-inhibit
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue