modules/nextcloud-client: don't use systemd service
This commit is contained in:
parent
153f144dc3
commit
907db6d727
1 changed files with 1 additions and 12 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue