summary refs log tree commit diff stats
path: root/system/services/nix-sync
diff options
context:
space:
mode:
Diffstat (limited to 'system/services/nix-sync')
-rw-r--r--system/services/nix-sync/default.nix13
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;