Add extra commands for updating home-manager only
This commit is contained in:
parent
d74444bd2f
commit
beabcee865
|
@ -43,11 +43,9 @@
|
||||||
shellAliases = let
|
shellAliases = let
|
||||||
auth = import ./common/auth.nix;
|
auth = import ./common/auth.nix;
|
||||||
in {
|
in {
|
||||||
nixdate = ''
|
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimDesktop";
|
||||||
${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimDesktop;
|
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimDesktop";
|
||||||
home-manager switch --flake /etc/nixos/.#jimbo@JimDesktop;
|
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
|
||||||
notify-send "NixOS switch finished."
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -11,10 +11,9 @@
|
||||||
shellAliases = let
|
shellAliases = let
|
||||||
auth = import ./common/auth.nix;
|
auth = import ./common/auth.nix;
|
||||||
in {
|
in {
|
||||||
nixdate = ''
|
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimServer";
|
||||||
${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimServer;
|
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimServer";
|
||||||
home-manager switch --flake /etc/nixos/.#jimbo@JimServer;
|
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,7 @@
|
||||||
shellAliases = let
|
shellAliases = let
|
||||||
auth = import ./common/auth.nix;
|
auth = import ./common/auth.nix;
|
||||||
in {
|
in {
|
||||||
nixdate = ''
|
homedate = "home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features 'nix-command flakes'";
|
||||||
home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features "nix-command flakes"
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue