services/nextcloud: switch to owncloud
This commit is contained in:
parent
39bf3c035e
commit
b46922bd1c
1 changed files with 5 additions and 5 deletions
|
@ -7,13 +7,13 @@
|
|||
inherit (lib.meta) getExe';
|
||||
inherit (lib.modules) mkIf;
|
||||
|
||||
cfg = config.modules.system.services.nextcloud;
|
||||
cfg = config.modules.system.services.owncloud;
|
||||
in {
|
||||
options.modules.system.services.nextcloud.enable = lib.mkEnableOption "nextcloud";
|
||||
options.modules.system.services.owncloud.enable = lib.mkEnableOption "owncloud";
|
||||
|
||||
config = {
|
||||
systemd.user.services.nextcloud = mkIf cfg.enable {
|
||||
description = "Nextcloud client service";
|
||||
systemd.user.services.owncloud = mkIf cfg.enable {
|
||||
description = "Owncloud client service";
|
||||
|
||||
# makes the graphical session start this service when it starts
|
||||
wantedBy = ["graphical-session.target"];
|
||||
|
@ -23,7 +23,7 @@ in {
|
|||
after = ["graphical-session.target"];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${getExe' pkgs.nextcloud-client "nextcloud"} --background";
|
||||
ExecStart = "${getExe' pkgs.owncloud-client "owncloud"}";
|
||||
Restart = "always";
|
||||
RestartSec = 30;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue