lol

nixos/privatebin: fix defaultText

+1 -2
+1 -2
nixos/modules/services/web-apps/privatebin.nix
··· 52 52 group = lib.mkOption { 53 53 type = lib.types.str; 54 54 default = if cfg.enableNginx then "nginx" else defaultGroup; 55 - defaultText = "If `services.privatebin.enableNginx` is true then `nginx` else ${defaultGroup}"; 55 + defaultText = lib.literalExpression "if config.services.privatebin.enableNginx then \"nginx\" else \"${defaultGroup}\""; 56 56 description = '' 57 57 Group under which privatebin runs. It is best to set this to the group 58 58 of whatever webserver is being used as the frontend. ··· 139 139 }; 140 140 141 141 config = lib.mkIf cfg.enable { 142 - 143 142 services.privatebin.settings = { 144 143 main = lib.mkDefault { }; 145 144 model.class = lib.mkDefault "Filesystem";