mod: only import hardcodedsecret from tests
This commit is contained in:
parent
5022bb5886
commit
b6c642ee80
4 changed files with 3 additions and 5 deletions
|
|
@ -49,7 +49,6 @@ let
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardcodedsecret.nix
|
|
||||||
./mitmdump.nix
|
./mitmdump.nix
|
||||||
|
|
||||||
(lib.mkRenamedOptionModule [ "shb" "ldap" ] [ "shb" "lldap" ])
|
(lib.mkRenamedOptionModule [ "shb" "ldap" ] [ "shb" "lldap" ])
|
||||||
|
|
|
||||||
|
|
@ -105,10 +105,6 @@ let
|
||||||
fullName = name: repository: "restic-backups-${name}_${repoSlugName repository.path}";
|
fullName = name: repository: "restic-backups-${name}_${repoSlugName repository.path}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
|
||||||
./hardcodedsecret.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
options.shb.restic = {
|
options.shb.restic = {
|
||||||
instances = mkOption {
|
instances = mkOption {
|
||||||
description = "Files to backup following the [backup contract](./contracts-backup.html).";
|
description = "Files to backup following the [backup contract](./contracts-backup.html).";
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ in
|
||||||
shb.ssl.enable = lib.mkEnableOption "ssl";
|
shb.ssl.enable = lib.mkEnableOption "ssl";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
../../modules/blocks/hardcodedsecret.nix
|
||||||
../../modules/blocks/lldap.nix
|
../../modules/blocks/lldap.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@ let
|
||||||
nodes.machine = { config, ... }: {
|
nodes.machine = { config, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
testLib.baseImports
|
testLib.baseImports
|
||||||
|
|
||||||
|
../../modules/blocks/hardcodedsecret.nix
|
||||||
../../modules/blocks/restic.nix
|
../../modules/blocks/restic.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue