mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
feat: added eris
This commit is contained in:
parent
74f9c483ad
commit
090e4770d2
7 changed files with 40 additions and 30 deletions
|
|
@ -12,6 +12,7 @@ let
|
|||
mars = devices.mars;
|
||||
deimos = devices.deimos;
|
||||
ceres = devices.ceres;
|
||||
eris = devices.eris;
|
||||
hostname = config.networking.hostName;
|
||||
deviceLogic = if hostname == mars.name then deimos else mars;
|
||||
|
||||
|
|
@ -42,9 +43,12 @@ in
|
|||
rebuild:
|
||||
nixos-rebuild switch --sudo --flake ~/projects/dotfiles#${hostname} --show-trace
|
||||
|
||||
rebuild-server:
|
||||
rebuild-ceres:
|
||||
nixos-rebuild switch --flake ~/projects/dotfiles#${ceres.name} --target-host ${ceres.ip.address0} --sudo --ask-sudo-password
|
||||
|
||||
rebuild-eris:
|
||||
nixos-rebuild switch --flake ~/projects/dotfiles#${eris.name} --target-host ${eris.ip.address0} --sudo --ask-sudo-password
|
||||
|
||||
rebuild-lamda:
|
||||
nixos-rebuild switch --flake ~/projects/lamdagibson#lamdagibson --target-host denise@${lamdaIP} --sudo --ask-sudo-password
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue