diff --git a/mkfile b/mkfile index e94dc85..5649389 100644 --- a/mkfile +++ b/mkfile @@ -2,13 +2,14 @@ MKSHELL=rc gitroot=`{git rev-parse --show-toplevel} platform=`{uname} -upgrade:V: - nix flake update --flake $gitroot - exec sudo nixos-rebuild switch --flake $gitroot - rebuild:V: + git pull --rebase exec sudo nixos-rebuild switch --flake $gitroot +upgrade:V: + nix flake update --flake $gitroot + exec mk rebuild + hmswitch:V: switch($platform) { case Darwin