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