From 3d17573cd41587311d21d38b39d508b6234e39ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 2 Jun 2017 21:18:59 +0100 Subject: [PATCH] resilio: remove systemd user service this used to be part of the upstream btsync package fixes #26303 --- nixos/modules/services/networking/resilio.nix | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/nixos/modules/services/networking/resilio.nix b/nixos/modules/services/networking/resilio.nix index 33ac24aabc45..6d2b7bdbca1b 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 ]; }; }