Merge pull request #277783 from gepbird/c2fmzq-server-multiple-freeform-settings
nixos/c2fmzq-server: allow multiple freeform settings
This commit is contained in:
commit
59cefcbc62
2 changed files with 4 additions and 1 deletions
|
@ -6,7 +6,7 @@ let
|
|||
cfg = config.services.c2fmzq-server;
|
||||
|
||||
argsFormat = {
|
||||
type = with lib.types; nullOr (oneOf [ bool int str ]);
|
||||
type = with lib.types; attrsOf (nullOr (oneOf [ bool int str ]));
|
||||
generate = lib.cli.toGNUCommandLineShell { };
|
||||
};
|
||||
in {
|
||||
|
|
|
@ -9,6 +9,9 @@ import ./make-test-python.nix ({ pkgs, lib, ... }: {
|
|||
passphraseFile = builtins.toFile "pwfile" "hunter2"; # don't do this on real deployments
|
||||
settings = {
|
||||
verbose = 3; # debug
|
||||
# make sure multiple freeform options evaluate
|
||||
allow-new-accounts = true;
|
||||
auto-approve-new-accounts = true;
|
||||
};
|
||||
};
|
||||
environment = {
|
||||
|
|
Loading…
Reference in a new issue