diff options
| author | Max Audron <audron@cocaine.farm> | 2025-12-22 18:26:31 +0100 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2025-12-22 19:01:35 +0100 |
| commit | fa5d7ead69fe58e2317ae803e25bc73069b1ec91 (patch) | |
| tree | 4ec270405db8ac24fb8643801a9a6174eb8ac03c /modules/git/default.nix | |
| parent | update catinator (diff) | |
add git readme command
Diffstat (limited to 'modules/git/default.nix')
| -rw-r--r-- | modules/git/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/git/default.nix b/modules/git/default.nix index 0827735..914ff3e 100644 --- a/modules/git/default.nix +++ b/modules/git/default.nix @@ -85,9 +85,8 @@ }; system.activationScripts.setup-git-shell-commands.text = '' - if [[ ! -h "/var/lib/git/git-shell-commands" ]]; then - ln -s "${./git-shell-commands}" "/var/lib/git/git-shell-commands" - fi + rm "/var/lib/git/git-shell-commands" + ln -s "${./git-shell-commands}" "/var/lib/git/git-shell-commands" ''; services.nginx.virtualHosts = { |
