nixos-config/nixops/seattle.nix

19 lines
543 B
Nix

let
nixos-version = "20.09";
hosts = import ./lib/hosts.nix { inherit nix-version; };
seattle-host = ip: hostname: profile:
let
site = "seattle";
domain = "sea.fudo.org";
in hosts.host-config ip { inherit hostname profile domain site; };
in {
network.description = "Seattle home network.";
nostromo = seattle-host "10.0.0.1" "nostromo" "server";
lambda = seattle-host "10.0.0.3" "lambda" "server";
spark = seattle-host "10.0.0.108" "spark" "desktop";
zbox = seattle-host "10.0.0.110" "zbox" "desktop";
}