a
This commit is contained in:
parent
1233b1afde
commit
38ca2ee874
6 changed files with 38 additions and 25 deletions
|
|
@ -13,12 +13,12 @@ in
|
|||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
ragon.secrets.autheliaStorageEncryption = { };
|
||||
ragon.secrets.autheliaSessionSecret = { };
|
||||
ragon.secrets.autheliaOidcIssuerPrivateKey = { };
|
||||
ragon.secrets.autheliaOidcHmacSecret = { };
|
||||
ragon.secrets.autheliaJwtSecret = { };
|
||||
ragon.secrets.autheliaEmail = { user = "authelia"; };
|
||||
ragon.agenix.secrets.autheliaStorageEncryption = { };
|
||||
ragon.agenix.secrets.autheliaSessionSecret = { };
|
||||
ragon.agenix.secrets.autheliaOidcIssuerPrivateKey = { };
|
||||
ragon.agenix.secrets.autheliaOidcHmacSecret = { };
|
||||
ragon.agenix.secrets.autheliaJwtSecret = { };
|
||||
ragon.agenix.secrets.autheliaEmail = { user = "authelia"; };
|
||||
services.authelia.instances.${instanceName} = {
|
||||
enable = true;
|
||||
secrets = {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ in
|
|||
default = "md.xyno.systems";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
ragon.secrets.autheliaHedgedoc = { user = "authelia"; };
|
||||
ragon.agenix.secrets.autheliaHedgedoc = { user = "authelia"; };
|
||||
services.authelia.instances.main.settingsFiles = [
|
||||
config.age.secrets.autheliaHedgedoc.path
|
||||
];
|
||||
|
|
|
|||
|
|
@ -9,6 +9,11 @@ in
|
|||
type = lib.types.str;
|
||||
default = "hailsatan.eu";
|
||||
};
|
||||
options.ragon.services.nginx.domains =
|
||||
lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
services.nginx = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue