modules/nextcloud-client: don't use systemd service

This commit is contained in:
Max Headroom 2023-06-23 14:09:41 +02:00
parent 153f144dc3
commit 907db6d727

View file

@ -1,15 +1,4 @@
{ pkgs, config, ... }:
{ pkgs, ... }:
{
# expose nextcloud client into the environment
environment.systemPackages = [ pkgs.nextcloud-client ];
systemd.user.services.nextcloud = {
description = "Nextcloud Client Service";
wantedBy = [ "gnome-session.target" ];
serviceConfig = {
ExecStart = "${pkgs.nextcloud-client}/bin/nextcloud --background";
Restart = "always";
Slice = "background.slice";
};
};
}