diff --git a/programs/bash.nix b/programs/bash.nix index d1bcccf..c39e00e 100644 --- a/programs/bash.nix +++ b/programs/bash.nix @@ -46,6 +46,7 @@ tolower = "tr [:upper:] [:lower:]"; rebuild = if (os == "linux") then '' cd $HOME/.local/os && + git pull && nix flake update --commit-lock-file && nixos-rebuild switch --flake "path:$HOME/.local/os#" --use-remote-sudo && git add . && @@ -54,6 +55,7 @@ cd - '' else '' cd $HOME/.local/os && + git pull && nix flake update --commit-lock-file && home-manager switch && git add . &&