Add description to systemd-inhibit
This commit is contained in:
parent
a2126338f5
commit
d1c2acafde
|
@ -13,7 +13,7 @@ writeShellApplication
|
|||
# A rebuild script for NixOS
|
||||
set -e
|
||||
echo "NixOS Rebuilding..."
|
||||
sudo systemd-inhibit nixos-rebuild switch --flake git+https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git#
|
||||
sudo systemd-inhibit --who="System Updater" why="Updating System" nixos-rebuild switch --flake git+https://git.lillianviolet.dev/Lillian-Violet/NixOS-Config.git#
|
||||
echo "NixOS Rebuilt OK!"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue