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