11 lines
236 B
Bash
Executable file
11 lines
236 B
Bash
Executable file
#!/bin/sh
|
|
currentdir=$(pwd)
|
|
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
|