diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-25 21:27:40 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-25 21:27:40 +0100 |
commit | 33eeb84d68503e7669f44881a03738a0a30c3c9d (patch) | |
tree | ae3940e38edd41cff42b988e82149017a6dfe268 /modules/by-name/ba/back/module.nix | |
parent | feat(modules/nginx): Modularise the redirects and migrate them to server2 (diff) | |
download | nixos-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/by-name/ba/back/module.nix')
-rw-r--r-- | modules/by-name/ba/back/module.nix | 2 |
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; |