mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
modules/nixos/{tf-glue,deploy} -> modules/nixos/deploy-tf
This commit is contained in:
parent
1b86e814b5
commit
064b3abcf8
3 changed files with 6 additions and 16 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
{ config, pkgs, lib, options, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
options = {
|
||||
deploy = {
|
||||
target = mkOption {
|
||||
type = with types; str;
|
||||
default = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue