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.meta) getExe';
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
|
|
||||||
cfg = config.modules.system.services.nextcloud;
|
cfg = config.modules.system.services.owncloud;
|
||||||
in {
|
in {
|
||||||
options.modules.system.services.nextcloud.enable = lib.mkEnableOption "nextcloud";
|
options.modules.system.services.owncloud.enable = lib.mkEnableOption "owncloud";
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
systemd.user.services.nextcloud = mkIf cfg.enable {
|
systemd.user.services.owncloud = mkIf cfg.enable {
|
||||||
description = "Nextcloud client service";
|
description = "Owncloud client service";
|
||||||
|
|
||||||
# makes the graphical session start this service when it starts
|
# makes the graphical session start this service when it starts
|
||||||
wantedBy = ["graphical-session.target"];
|
wantedBy = ["graphical-session.target"];
|
||||||
|
@ -23,7 +23,7 @@ in {
|
||||||
after = ["graphical-session.target"];
|
after = ["graphical-session.target"];
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${getExe' pkgs.nextcloud-client "nextcloud"} --background";
|
ExecStart = "${getExe' pkgs.owncloud-client "owncloud"}";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
RestartSec = 30;
|
RestartSec = 30;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue