blob: 60e2695c0d9fff4b766c2c493b36cf08809d3d21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{ appConfig, lib, ... }: {
name = "authelia";
endOfLife = null;
options = {
domain = lib.mkOption {
type = lib.types.str;
};
users = lib.mkOption {
type = lib.types.attrsOf (lib.types.submodule {
options.username = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
};
options.passwordFile = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
};
});
};
jwtSecret = lib.mkOption {
type = lib.types.str;
default = "system-secrets/${appConfig.appId}/jwtSecret";
};
storageEncryptionKey = lib.mkOption {
type = lib.types.str;
default = "system-secrets/${appConfig.appId}/storageEncryptionKey";
};
sessionSecret = lib.mkOption {
type = lib.types.str;
default = "system-secrets/${appConfig.appId}/sessionSecret";
};
};
}
|