feat: added remote rebuild command for lamdagibson

This commit is contained in:
Nick 2025-10-21 19:42:36 -05:00
parent 45fb39b945
commit b91e543ca8

View file

@ -31,7 +31,11 @@ let
);
in
{
text = ''
text =
let
lamdaIP = "192.168.50.131";
in
''
rebuildBoot:
nixos-rebuild boot --sudo --flake ~/projects/dotfiles#${hostname} --show-trace
@ -41,6 +45,9 @@ in
rebuild-server:
nixos-rebuild switch --flake ~/projects/dotfiles#${ceres.name} --target-host ${ceres.ip.address0} --sudo --ask-sudo-password
rebuild-lamda:
nixos-rebuild switch --flake ~/projects/lamdagibson#lamdagibson --target-host denise@${lamdaIP} --sudo --ask-sudo-password
update:
nix flake update --flake ~/projects/dotfiles
@ -54,7 +61,7 @@ in
ssh ${ceres.ip.address0}
lamda:
ssh denise@192.168.50.131
ssh denise@${lamdaIP}
serverRemote:
ssh ${instances.web.remotehost.address0}