modules: add hexchen's network thing

This commit is contained in:
hexchen 2021-04-25 19:41:46 +00:00 committed by kat witch
parent e0aa1fc238
commit 017372b348
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
4 changed files with 57 additions and 2 deletions

View file

@ -1,10 +1,17 @@
{ sources, ... }:
{ sources, lib, ... }:
{
let
hexchen = (import sources.nix-hexchen) {};
in {
imports = [
./deploy
./tf-glue
(sources.tf-nix + "/modules/nixos/secrets.nix")
(sources.tf-nix + "/modules/nixos/secrets-users.nix")
hexchen.modules.hexnet
];
# stubs for hexchens modules, until more generalized
options.hexchen.dns = lib.mkOption {};
options.hexchen.deploy = lib.mkOption {};
}