feat: added just command for remote server

This commit is contained in:
Nick 2025-04-10 17:46:40 -05:00
parent d740ec81ac
commit bd524a279c

View file

@ -9,6 +9,7 @@ let
inherit (flake) self; inherit (flake) self;
inherit (flake.config.people) user0; inherit (flake.config.people) user0;
inherit (flake.config.machines) devices; inherit (flake.config.machines) devices;
inherit (flake.config.services) instances;
inherit (flake.config.people.users.${user0}) name paths; inherit (flake.config.people.users.${user0}) name paths;
hostname = config.networking.hostName; hostname = config.networking.hostName;
@ -71,7 +72,7 @@ in
in in
{ {
text = '' text = ''
rebuildboot: rebuildBoot:
nixos-rebuild boot --use-remote-sudo --flake ~/Files/Projects/dotfiles#${hostname} --show-trace nixos-rebuild boot --use-remote-sudo --flake ~/Files/Projects/dotfiles#${hostname} --show-trace
rebuild: rebuild:
@ -86,6 +87,9 @@ in
server: server:
ssh ${devices.ceres.ip.address0} ssh ${devices.ceres.ip.address0}
serverRemote:
ssh ${instances.web.remotehost.address0}
${deviceLogic.name}: ${deviceLogic.name}:
ssh ${deviceLogic.ip.address0} ssh ${deviceLogic.ip.address0}