Added autofail for shell scripts

This commit is contained in:
2026-03-19 13:19:21 -05:00
parent a9b19ca2f8
commit 2105c339f7
5 changed files with 5 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
{ pkgs }:
pkgs.writeShellScriptBin "nixupdate" ''
set -Eeuo pipefail
cd /home/joe/.config/nix
nix flake update
sudo -v