fixing upgrades and updates

This commit is contained in:
Chris Cochrun 2024-09-06 10:01:48 -05:00
parent 4c1e79088c
commit c5c0a98c5a
5 changed files with 102 additions and 68 deletions

View file

@ -1,6 +1,7 @@
#!/bin/sh
currentdir=$(pwd)
if [[hostname == "kaladin"]]; then
hostname=$(hostname)
if [[ $hostname == kaladin ]]; then
cd ~/.config/dotfiles
else
cd ~/.dotfiles

View file

@ -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