aboutsummaryrefslogtreecommitdiff
path: root/modules/customs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/customs')
-rw-r--r--modules/customs/cgit/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/customs/cgit/default.nix b/modules/customs/cgit/default.nix
index a6fd79a..dc30d2a 100644
--- a/modules/customs/cgit/default.nix
+++ b/modules/customs/cgit/default.nix
@@ -22,12 +22,14 @@ let
);
mkCgitAssets = pkg: files:
- builtins.map (f: ''
+ strings.concatStringsSep "\n" (
+ builtins.map (f: ''
handle_path /${f} {
root * ${pkg}/cgit/${f}
file_server
}
- '') files |> strings.concatStringsSep "\n";
+ '') files
+ );
in
{
disabledModules = [ "services/networking/cgit.nix" ];