refactor: implement intermediate mySecrets options
This commit is contained in:
parent
d756f302d5
commit
55876f2828
7 changed files with 50 additions and 27 deletions
28
modules/secrets-scheme.nix
Normal file
28
modules/secrets-scheme.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
options.mySecrets = {
|
||||
forgejoDb = mkOption {
|
||||
type = types.str;
|
||||
description = "Forgejo Database Password";
|
||||
};
|
||||
stalwartAdmin = mkOption {
|
||||
type = types.str;
|
||||
description = "Stalwart Mail Admin Password";
|
||||
};
|
||||
searxKey = mkOption {
|
||||
type = types.str;
|
||||
description = "Searx Secret Key";
|
||||
};
|
||||
minecraftRcon = mkOption {
|
||||
type = types.str;
|
||||
description = "Minecraft RCON Password";
|
||||
};
|
||||
tailscaleKey = mkOption {
|
||||
type = types.str;
|
||||
description = "Tailscale Auth Key";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue