mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
@@ -51,7 +51,7 @@ let
|
||||
[[ $1 == "" ]] && ui
|
||||
|
||||
if [[ $1 == "rebuild" ]];then
|
||||
sudo nixos-rebuild switch --flake ${configDirectory}#${hostname}
|
||||
git add . && sudo nixos-rebuild switch --flake ${configDirectory}#${hostname}
|
||||
elif [[ $1 == "upgrade" ]];then
|
||||
sudo nixos-rebuild switch --upgrade --flake '${configDirectory}#${hostname}'
|
||||
elif [[ $1 == "update" ]];then
|
||||
|
||||
Reference in New Issue
Block a user