We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a53f6a4 + bbae05d commit 8c9ee72Copy full SHA for 8c9ee72
nixos/modules/services/web-apps/privatebin.nix
@@ -52,7 +52,7 @@ in
52
group = lib.mkOption {
53
type = lib.types.str;
54
default = if cfg.enableNginx then "nginx" else defaultGroup;
55
- defaultText = "If `services.privatebin.enableNginx` is true then `nginx` else ${defaultGroup}";
+ defaultText = lib.literalExpression "if config.services.privatebin.enableNginx then \"nginx\" else \"${defaultGroup}\"";
56
description = ''
57
Group under which privatebin runs. It is best to set this to the group
58
of whatever webserver is being used as the frontend.
@@ -139,7 +139,6 @@ in
139
};
140
141
config = lib.mkIf cfg.enable {
142
-
143
services.privatebin.settings = {
144
main = lib.mkDefault { };
145
model.class = lib.mkDefault "Filesystem";
0 commit comments