added bin to path and fixed scripts
This commit is contained in:
parent
7ad9eb5726
commit
42208d0029
7 changed files with 18 additions and 58 deletions
9
bin/sup
Executable file
9
bin/sup
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
pushd ~/.dotfiles
|
||||
if [[ $1 =~ (update) ]]; then
|
||||
sudo nixos-rebuild switch --flake .# --recreate-lock-file
|
||||
fi
|
||||
if [[ $1 =~ (apply) ]]; then
|
||||
sudo nixos-rebuild switch --flake .#
|
||||
fi
|
||||
popd
|
||||
Loading…
Add table
Add a link
Reference in a new issue