Skip to content

Commit

Permalink
feat: introduce new aliases for reloading nix/home-manager
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Aug 31, 2023
1 parent a75c25c commit f52264d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions home/common/shell/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,9 @@
speedtest = "curl -s https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | python -";

cleanup-nix = "sudo nix-collect-garbage -d";
reload-nix = "sudo nixos-rebuild switch --flake /home/jon/nixos-config";
reload-home = "home-manager switch --flake /home/jon/nixos-config";
rln = "sudo nixos-rebuild switch --flake /home/jon/nixos-config";
rlh = "home-manager switch --flake /home/jon/nixos-config";
rlb = "rln;rlh";
};
};
};
Expand Down

0 comments on commit f52264d

Please sign in to comment.