Separate system and home config on hs

This commit is contained in:
Yan Lin 2025-09-07 10:35:36 +02:00
parent 8525cab1d6
commit cb9f29154f
4 changed files with 56 additions and 33 deletions

View file

@ -27,7 +27,8 @@ in
hm = "home-manager";
hms = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname)";
hms-offline = "home-manager switch --flake ~/.config/nix#$(whoami)@$(hostname) --option substitute false";
nreb = "sudo nixos-rebuild switch --flake ~/.config/nix#$(hostname)";
doss = "sudo darwin-rebuild switch --flake ~/.config/nix#$(hostname)";
noss = "sudo nixos-rebuild switch --flake ~/.config/nix#$(hostname)";
} // lib.optionalAttrs pkgs.stdenv.isDarwin {
# macOS-specific app aliases