Added autofail for shell scripts
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ pkgs }:
|
||||
|
||||
pkgs.writeShellScriptBin "rebuild-boot" ''
|
||||
set -Eeuo pipefail
|
||||
sudo -v
|
||||
cd /home/joe/.config/nix
|
||||
sudo nixos-rebuild --flake .#$hostname boot
|
||||
|
||||
Reference in New Issue
Block a user