Fix the nixdate alias

This commit is contained in:
Jimbo 2024-08-24 23:26:27 -04:00
parent d745fc6f09
commit 22ee2986ca
2 changed files with 4 additions and 4 deletions

View file

@ -44,8 +44,8 @@
auth = import ./common/auth.nix; auth = import ./common/auth.nix;
in { in {
nixdate = '' nixdate = ''
${auth.method} nixos-rebuild switch --flake /etc/nixos/NixOS-Config/.#JimNixDesktop; ${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimNixDesktop;
home-manager switch --flake /etc/nixos/NixOS-Config/.#jimbo@JimNixDesktop; home-manager switch --flake /etc/nixos/.#jimbo@JimNixDesktop;
notify-send "NixOS switch finished." notify-send "NixOS switch finished."
''; '';
}; };

View file

@ -12,8 +12,8 @@
auth = import ./common/auth.nix; auth = import ./common/auth.nix;
in { in {
nixdate = '' nixdate = ''
${auth.method} nixos-rebuild switch --flake /etc/nixos/NixOS-Config/.#JimNixServer; ${auth.method} nixos-rebuild switch --flake /etc/nixos/.#JimNixServer;
home-manager switch --flake /etc/nixos/NixOS-Config/.#jimbo@JimNixServer; home-manager switch --flake /etc/nixos/.#jimbo@JimNixServer;
''; '';
}; };
}; };