diff --git a/home-manager/zsh.nix b/home-manager/zsh.nix index 8f395f6..2b1a973 100644 --- a/home-manager/zsh.nix +++ b/home-manager/zsh.nix @@ -10,10 +10,12 @@ shellAliases = { ls = "eza -lh"; ip = "ip --color=auto"; + nano = "nvim"; # Aliases for my nixos workflow, requires nh and home-manager switch = "nh os switch"; - homeswitch = "home-manager switch --flake /home/blue/nixos |& nom"; + homeswitch = "home-manager switch --flake /home/blue/nixconf |& nom"; + serverswitch = "nixos-rebuild switch --flake ~/nixconf#biggerpi --target-host blue@biggerpi --use-remote-sudo"; }; plugins = with pkgs; [ diff --git a/modules/nh.nix b/modules/nh.nix index 49d06cf..730d074 100644 --- a/modules/nh.nix +++ b/modules/nh.nix @@ -4,6 +4,6 @@ enable = true; clean.enable = true; clean.extraArgs = "--keep-since 4d --keep 3"; - flake = "/home/blue/nixos"; + flake = "/home/blue/nixconf"; }; }