From 0b36dbde8a3a656a19ee9bbf114e78e9acd57e07 Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 5 Jul 2023 20:40:16 +0200 Subject: Fix(system/services/nix-sync): Really remove last reference to git-sync --- system/services/nix-sync/default.nix | 13 ++----------- 1 file 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 git-sync program. - ''; - }; + enable = lib.mkEnableOption "nix-sync services"; user = lib.mkOption { type = lib.types.str; -- cgit 1.4.1