fixing upgrades and updates
This commit is contained in:
parent
4c1e79088c
commit
c5c0a98c5a
5 changed files with 102 additions and 68 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/bin/sh
|
||||
currentdir=$(pwd)
|
||||
if [[hostname == "kaladin"]]; then
|
||||
hostname=$(hostname)
|
||||
if [[ $hostname == kaladin ]]; then
|
||||
cd ~/.config/dotfiles
|
||||
else
|
||||
cd ~/.dotfiles
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
#!/bin/sh
|
||||
currentdir=$(pwd)
|
||||
cd ~/.config/dotfiles/
|
||||
hostname=$(hostname)
|
||||
if [[ $hostname == kaladin ]]; then
|
||||
cd ~/.config/dotfiles
|
||||
else
|
||||
cd ~/.dotfiles
|
||||
fi
|
||||
nixos-rebuild --use-remote-sudo switch --show-trace --verbose --impure --flake .#
|
||||
cd $currentdir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue