mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
feat: added just command for remote server
This commit is contained in:
parent
d740ec81ac
commit
bd524a279c
1 changed files with 5 additions and 1 deletions
|
@ -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}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue