feat: added eris

This commit is contained in:
Nick 2025-10-24 20:52:04 -05:00
parent 74f9c483ad
commit 090e4770d2
7 changed files with 40 additions and 30 deletions

View file

@ -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