File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 179179 } ;
180180 settings = lib . mkOption {
181181 type = yaml . type ;
182- apply = yaml . generate "configuration.yml" ;
182+
183183 description = ''
184184 Additional Authelia settings. Will be provided in the `configuration.yml`.
185185 '' ;
@@ -292,10 +292,7 @@ in {
292292 password_reset . disable = lib . mkDefault true ;
293293 password_change . disable = lib . mkDefault true ;
294294 } ;
295- access_control . default_policy =
296- if ( ( cfg . settings . access_control . rules or [ ] ) != [ ] )
297- then ( lib . mkDefault "deny" )
298- else ( lib . mkDefault cfg . defaultAllowPolicy ) ;
295+
299296 notifier . filesystem . filename = "/notifier/notification.txt" ;
300297 session =
301298 {
363360 {
364361 data = "${ storage } /db:/data" ;
365362 notifier = "${ storage } /notifier:/notifier" ;
366- settings = "${ cfg . settings } :/config/configuration.yml" ;
363+ settings = "${ yaml . generate "configuration.yml" cfg . settings } :/config/configuration.yml" ;
367364 }
368365 // lib . optionalAttrs oidcEnabled {
369366 rsaKey = "${ cfg . oidc . jwksRsaKeyFile } :/secrets/oidc/jwks/rsa.key" ;
You can’t perform that action at this time.
0 commit comments