Homogonize the system switch aliases

This commit is contained in:
Jimbo 2024-09-10 15:29:32 -04:00
parent cbefbefc15
commit c1b6c7a255
6 changed files with 13 additions and 62 deletions

View file

@ -1,4 +1,4 @@
{config, ...}: {
{
imports = [
# Common modules
./home.nix
@ -9,9 +9,8 @@
programs.zsh = {
shellAliases = let
auth = import ./common/auth.nix;
hostname = "SSH";
in {
homedate = "home-manager switch --flake ~/.home-manager/.#jimbo@${hostname} --extra-experimental-features 'nix-command flakes'";
sshswitch = "home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features 'nix-command flakes'";
};
};
}