diff options
author | Soispha <soispha@vhack.eu> | 2023-07-05 20:40:16 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-07-05 20:40:16 +0200 |
commit | 0b36dbde8a3a656a19ee9bbf114e78e9acd57e07 (patch) | |
tree | 2037c0c25f9490ab6e7488ed52540987598b1f9a /system/services | |
parent | Fix(system/services/nix-sync): Small typos in ExecStart (diff) | |
download | nixos-server-0b36dbde8a3a656a19ee9bbf114e78e9acd57e07.tar.gz nixos-server-0b36dbde8a3a656a19ee9bbf114e78e9acd57e07.zip |
Fix(system/services/nix-sync): Really remove last reference to git-sync
Diffstat (limited to 'system/services')
-rw-r--r-- | system/services/nix-sync/default.nix | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/system/services/nix-sync/default.nix b/system/services/nix-sync/default.nix index d77cb93..4440d59 100644 --- a/system/services/nix-sync/default.nix +++ b/system/services/nix-sync/default.nix @@ -27,7 +27,7 @@ then "" else "/"; repoCachePath = cfg.cachePath + optionalPathSeparator + repo.path; - execStartScript = pkgs.writeScript "git-sync-exec" '' + execStartScript = pkgs.writeScript "nix-sync-exec" '' #! /usr/bin/env dash export XDG_CACHE_HOME="$CACHE_DIRECTORY"; cd ${esa repoCachePath}; @@ -173,16 +173,7 @@ in { options = { services.nix-sync = { - enable = lib.mkEnableOption "git-sync services"; - - package = lib.mkOption { - type = lib.types.package; - default = pkgs.git-sync; - defaultText = lib.literalExpression "pkgs.git-sync"; - description = '' - Package containing the <command>git-sync</command> program. - ''; - }; + enable = lib.mkEnableOption "nix-sync services"; user = lib.mkOption { type = lib.types.str; |