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.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}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue