Ugh, inputs must be explicit, can't be shared
This commit is contained in:
@@ -1,12 +1,26 @@
|
||||
{
|
||||
description = "Definition of the Seattle NixOps network.";
|
||||
|
||||
inputs = import ../../common/inputs.nix {
|
||||
nixos-version = "21.05";
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-21.05";
|
||||
|
||||
fudo-home = {
|
||||
url = "git+https://git.fudo.org/niten/nix-home.git?ref=flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
fudo-secrets.url = "path:/state/secrets";
|
||||
|
||||
fudo-pkgs.url = "git+https://git.fudo.org/fudo-public/fudo-pkgs.git";
|
||||
|
||||
fudo-nixos = {
|
||||
url = "git+ssh://fudo_git@git.fudo.org:2222/fudosys/NixOS.git?ref=nixops-flake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, fudo-nixos, ... } @ inputs:
|
||||
import ../../common/deployment.nix {
|
||||
outputs = { self, nixpkgs, fudo-nixos, ... } @ inputs: let
|
||||
deployment = import ../../common/deployment.nix {
|
||||
description = "Seattle NixOps network";
|
||||
hostnames = with nixpkgs.lib; let
|
||||
domain = "sea.fudo.org";
|
||||
@@ -16,5 +30,6 @@
|
||||
in mapAttrsToList
|
||||
(hostname: hostOpts: fudo-nixos.nixosConfigurations.${hostname})
|
||||
deployment-hosts;
|
||||
};
|
||||
};
|
||||
in (deployment inputs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user