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