nixos: gitit service, use list of strings for plugins

Changed files
+3 -3
nixos
modules
services
misc
+3 -3
nixos/modules/services/misc/gitit.nix
···
};
plugins = mkOption {
-
type = types.path;
+
type = with types; listOf str;
description = ''
Specifies a list of plugins to load. Plugins may be specified either
by their path or by their module name. If the plugin name starts
···
no-edit: ${cfg.noEdit}
default-summary: ${cfg.defaultSummary}
table-of-contents: ${toYesNo cfg.tableOfContents}
-
plugins: ${cfg.plugins}
+
plugins: ${concatStringsSep "," cfg.plugins}
use-cache: ${toYesNo cfg.useCache}
cache-dir: ${cfg.cacheDir}
max-upload-size: ${cfg.maxUploadSize}
···
haskellPackages = mkDefault pkgs.haskellPackages;
staticDir = gititShared + "/data/static";
templatesDir = gititShared + "/data/templates";
-
plugins = gititShared + "/plugins/Dot.hs";
+
plugins = [ ];
};
users.extraUsers.gitit = {