resilio: remove systemd user service

this used to be part of the upstream btsync package

fixes #26303

Changed files
-14
nixos
modules
services
networking
-14
nixos/modules/services/networking/resilio.nix
···
}
];
-
users.extraUsers.rslsync = {
description = "Resilio Sync Service user";
home = cfg.storagePath;
···
'';
};
};
-
-
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 ];
};
}
···
}
];
users.extraUsers.rslsync = {
description = "Resilio Sync Service user";
home = cfg.storagePath;
···
'';
};
};
};
}