10 lines
225 B
Bash
Executable file
10 lines
225 B
Bash
Executable file
#!/bin/sh
|
|
currentdir=$(pwd)
|
|
hostname=$(hostname)
|
|
if [[ $hostname == kaladin ]]; then
|
|
cd ~/.config/dotfiles
|
|
else
|
|
cd ~/.dotfiles
|
|
fi
|
|
nixos-rebuild --sudo switch --show-trace --verbose --impure --flake .#
|
|
cd $currentdir
|