summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-25 21:27:40 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-25 21:27:40 +0100
commit33eeb84d68503e7669f44881a03738a0a30c3c9d (patch)
treeae3940e38edd41cff42b988e82149017a6dfe268 /modules
parentfeat(modules/nginx): Modularise the redirects and migrate them to server2 (diff)
downloadnixos-server-33eeb84d68503e7669f44881a03738a0a30c3c9d.tar.gz
nixos-server-33eeb84d68503e7669f44881a03738a0a30c3c9d.zip
fix(modules/back): Remove the `gitPath` from the service name
With it, the service names become nearly illegible.
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/ba/back/module.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/by-name/ba/back/module.nix b/modules/by-name/ba/back/module.nix
index f732f02..2bc5159 100644
--- a/modules/by-name/ba/back/module.nix
+++ b/modules/by-name/ba/back/module.nix
@@ -63,7 +63,7 @@
 
   services =
     lib.mapAttrs' (gitPath: config: {
-      name = builtins.replaceStrings ["/"] ["_"] "back-${gitPath}-${config.domain}";
+      name = builtins.replaceStrings ["/"] ["_"] "back-${config.domain}";
       value = mkUnit gitPath config.port;
     })
     cfg.repositories;