added a whole bunch

This commit is contained in:
K9BFF committed 2025-11-03 20:11:13 -06:00
1 parent c6f3a330c4
commit 3d6c82b454
2 files changed
+15 -2

No files matched your search

+14 -1
View File
@@ -1,7 +1,20 @@
# sysop: system operations
a nixos operations frontent for lazy people
### the only prerequesite is `nom`. please make sure it's installed before using `sysop`!
### installation:
1. prerequesites
the only prerequesite is `nom`. please ensure you have it installed before using `sysop`!
2. initial setup
create `~/.local/bin`
`$ mkdir .local/bin`
and allow NixOS to see it by adding
`environment.localBinInPath = true;` to your `/etc/nixos/configuration.nix` file.
3. reboot!
now you can give it a shot by running `sysop -h`
### options:
+1 -1
View File
@@ -10,7 +10,7 @@ if [[ $1 == "-r" ]]; then
fi
fi
# updater
# upgrade
if [[ $1 == "-u" ]]; then
if [[ $EUID -ne 0 ]]; then
echo "Needs to be run as sudo..."