modules/nixos/{tf-glue,deploy} -> modules/nixos/deploy-tf

This commit is contained in:
kat witch 2021-05-05 14:52:23 +01:00
parent 1b86e814b5
commit 064b3abcf8
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
3 changed files with 6 additions and 16 deletions

View file

@ -3,9 +3,8 @@
let hexchen = (import sources.nix-hexchen) { };
in {
imports = [
./deploy
./katnet
./tf-glue
./deploy-tf
(sources.pbb-nixfiles + "/modules/nftables")
(sources.tf-nix + "/modules/nixos/secrets.nix")
(sources.tf-nix + "/modules/nixos/secrets-users.nix")

View file

@ -7,6 +7,11 @@ let
merge = loc: defs: map (def: def.value) defs;
};
in {
options.deploy.target = mkOption {
type = with types; str;
default = "";
};
options.deploy.tf = mkOption {
type = types.submodule {
freeformType = types.attrsOf unmergedValues;

View file

@ -1,14 +0,0 @@
{ config, pkgs, lib, options, ... }:
with lib;
{
options = {
deploy = {
target = mkOption {
type = with types; str;
default = "";
};
};
};
}