From bd524a279c26675f1257f58f2cff3f7c8780f792 Mon Sep 17 00:00:00 2001 From: Nick Date: Thu, 10 Apr 2025 17:46:40 -0500 Subject: [PATCH] feat: added just command for remote server --- profiles/user0/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/profiles/user0/default.nix b/profiles/user0/default.nix index 967ebc1..0c614f7 100755 --- a/profiles/user0/default.nix +++ b/profiles/user0/default.nix @@ -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}