Move to using flake nixos config
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user