Use host-specific home configuration

This commit is contained in:
Yan Lin 2025-08-29 23:16:24 +02:00
parent 2a3a4aece9
commit 6368fe594a
5 changed files with 69 additions and 39 deletions

View file

@ -24,8 +24,8 @@ in
# Nix helpers
hm = "home-manager";
hms = "home-manager switch --flake ~/.config/nix#yanlin";
hms-offline = "home-manager switch --flake ~/.config/nix#yanlin --option substitute false";
hms = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname)";
hms-offline = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname) --option substitute false";
} // lib.optionalAttrs pkgs.stdenv.isDarwin {
# macOS-specific app aliases