Merge pull request #255977 from nh2/vaultwarden-fix-default-config-evaluation

vaultwarden service: Fix doubly-nested `config` value. Fixes evaluation
This commit is contained in:
Niklas Hambüchen 2023-09-19 18:46:58 +02:00 committed by GitHub
commit 1a8e576180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,10 +60,8 @@ in {
config = mkOption {
type = attrsOf (nullOr (oneOf [ bool int str ]));
default = {
config = {
ROCKET_ADDRESS = "::1"; # default to localhost
ROCKET_PORT = 8222;
};
ROCKET_ADDRESS = "::1"; # default to localhost
ROCKET_PORT = 8222;
};
example = literalExpression ''
{