nixos-config/nixops/seattle.nix

27 lines
756 B
Nix
Raw Normal View History

let
2021-04-10 21:45:38 -07:00
deploy-port = 2112;
nixos-version = "20.09";
2021-04-10 21:45:38 -07:00
hosts = import ./lib/hosts.nix { inherit nixos-version; };
seattle-host = ip: hostname: profile:
let
site = "seattle";
domain = "sea.fudo.org";
2021-04-10 21:45:38 -07:00
in hosts.host-config ip deploy-port {
inherit hostname profile domain site;
};
in {
network.description = "Seattle home network.";
2021-04-11 11:10:46 -07:00
lambda = seattle-host "10.0.0.11" "lambda" "server";
2021-04-10 21:45:38 -07:00
liminia = seattle-host "10.0.0.1" "limina" "server";
plato = seattle-host "10.0.0.21" "plato" "server";
spark = seattle-host "10.0.0.108" "spark" "desktop";
zbox = seattle-host "10.0.0.110" "zbox" "desktop";
2021-04-10 21:45:38 -07:00
#nostromo = seattle-host "10.0.0.1" "nostromo" "server";
#lambda = seattle-host "10.0.0.3" "lambda" "server";
}