This commit is contained in:
ediblerope 2026-05-15 20:20:35 +01:00
parent 3f84744ae4
commit f8417a5f64
2 changed files with 6 additions and 4 deletions

View file

@ -91,7 +91,7 @@
clean = "sudo nix-collect-garbage -d";
ll = "ls -alh";
clear = "command clear";
reboot = "sudo systemctl reboot";
reboot = "bash -c 'if [ \"$(hostname)\" = \"FredOS-Mediaserver\" ]; then read -r -p \"Reboot $(hostname)? [y/N] \" confirm; case \"$confirm\" in [Yy]) ;; *) exit 0 ;; esac; fi; sudo systemctl reboot'";
};
# Add packages