19 lines
584 B
Nix

{
description = "Definition of the Seattle NixOps network.";
inputs = import ../../common/inputs.nix;
outputs = { self, nixpkgs, fudo-nixos, ... } @ inputs:
import ../../common/deployment.nix {
description = "Seattle NixOps network";
hostnames = with nixpkgs.lib; let
domain = "sea.fudo.org";
deployment-hosts = filterAttrs
(hostname: hostOpts: hostOpts.domain == domain)
fudo-nixos.fudoHosts;
in mapAttrsToList
(hostname: hostOpts: fudo-nixos.nixosConfigurations.${hostname})
deployment-hosts;
};
}