NixOS-Config/pkgs/rebuild/default.nix

13 lines
250 B
Nix
Raw Permalink Normal View History

{writeShellApplication}:
2024-02-26 14:17:34 +01:00
writeShellApplication
{
name = "rebuild";
runtimeInputs = [];
text = ''
# A rebuild script for NixOS
sudo systemd-inhibit --who="NixOS Updater" --why="Updating system configuration" rebuild-no-inhibit
2024-02-26 14:17:34 +01:00
'';
}