summary refs log tree commit diff
path: root/nixos/modules/services/networking/resilio.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-06-02 21:18:59 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-06-02 21:25:21 +0100
commit3d17573cd41587311d21d38b39d508b6234e39ef (patch)
treef540b213ed909bfa878378f2d602d3e9b901eb0f /nixos/modules/services/networking/resilio.nix
parentc611d03842803c2d1bf081f6432449f34b1cebb7 (diff)
downloadnixpkgs-3d17573cd41587311d21d38b39d508b6234e39ef.tar
nixpkgs-3d17573cd41587311d21d38b39d508b6234e39ef.tar.gz
nixpkgs-3d17573cd41587311d21d38b39d508b6234e39ef.tar.bz2
nixpkgs-3d17573cd41587311d21d38b39d508b6234e39ef.tar.lz
nixpkgs-3d17573cd41587311d21d38b39d508b6234e39ef.tar.xz
nixpkgs-3d17573cd41587311d21d38b39d508b6234e39ef.tar.zst
nixpkgs-3d17573cd41587311d21d38b39d508b6234e39ef.zip
resilio: remove systemd user service
this used to be part of the upstream btsync package

fixes #26303
Diffstat (limited to 'nixos/modules/services/networking/resilio.nix')
-rw-r--r--nixos/modules/services/networking/resilio.nix14
1 files changed, 0 insertions, 14 deletions
diff --git a/nixos/modules/services/networking/resilio.nix b/nixos/modules/services/networking/resilio.nix
index 33ac24aabc4..6d2b7bdbca1 100644
--- a/nixos/modules/services/networking/resilio.nix
+++ b/nixos/modules/services/networking/resilio.nix
@@ -241,7 +241,6 @@ in
         }
       ];
 
-
     users.extraUsers.rslsync = {
       description     = "Resilio Sync Service user";
       home            = cfg.storagePath;
@@ -265,18 +264,5 @@ in
         '';
       };
     };
-
-    systemd.user.services.resilio = with pkgs; {
-      description = "Resilio Sync user service";
-      after       = [ "network.target" "local-fs.target" ];
-      serviceConfig = {
-        Restart   = "on-abort";
-        ExecStart = ''
-         ${resilioSync}/bin/rslsync --nodaemon --config %h/.config/resilio-sync/config.json
-        '';
-      };
-    };
-
-    environment.systemPackages = [ resilioSync ];
   };
 }