Nixfmt Tree

This commit is contained in:
Lorenzo Good 2026-02-24 00:00:35 -08:00
parent d6bcf1a468
commit f173b9d236
Signed by: lorenzo
GPG key ID: 7FCD64BD81180ED0
23 changed files with 381 additions and 224 deletions

View file

@ -2,11 +2,18 @@
config,
lib,
...
}: let
inherit (lib) mkIf types mkOption mkEnableOption;
}:
let
inherit (lib)
mkIf
types
mkOption
mkEnableOption
;
cfg = config.foehammer.services.authelia;
in {
in
{
options.foehammer.services.authelia = {
enable = mkEnableOption "Enable authelia server component.";
domain = mkOption {
@ -27,7 +34,6 @@ in {
type = types.path;
};
# https://www.authelia.com/integration/ldap/lldap/
ldap = {
addr = mkOption {
@ -102,7 +108,7 @@ in {
settingsFiles = mkOption {
type = types.listOf types.path;
default = [];
default = [ ];
example = [
"/etc/authelia/config.yml"
"/etc/authelia/access-control.yml"
@ -124,7 +130,7 @@ in {
If you provide the raw secret rather than the location of a secret file that secret will be preserved in the nix store.
For more details: https://www.authelia.com/configuration/methods/secrets/
'';
default = {};
default = { };
};
};
@ -190,8 +196,7 @@ in {
};
secrets = {
inherit
(cfg)
inherit (cfg)
jwtSecretFile
oidcIssuerPrivateKeyFile
oidcHmacSecretFile