Add extra commands for updating home-manager only

This commit is contained in:
Jimbo 2024-08-29 03:13:41 -04:00
parent d74444bd2f
commit beabcee865
3 changed files with 7 additions and 12 deletions

View file

@ -11,10 +11,9 @@
shellAliases = let
auth = import ./common/auth.nix;
in {
nixdate = ''
${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimServer;
home-manager switch --flake /etc/nixos/.#jimbo@JimServer;
'';
sysdate = "${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimServer";
homedate = "home-manager switch --flake /etc/nixos/.#jimbo@JimServer";
nixdate = "sysdate; homedate; notify-send 'NixOS switch done.'";
};
};
}