#!/bin/sh currentdir=$(pwd) hostname=$(hostname) if [[ $hostname == kaladin ]]; then cd ~/.config/dotfiles else cd ~/.dotfiles fi nix flake update nix flake lock cd $currentdir