update
This commit is contained in:
parent
8d8bb26d7f
commit
c01d74dde1
@ -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 . &&
|
||||
|
Loading…
Reference in New Issue
Block a user