nixos/nextcloud: add occ in path of nextcloud-setup
This makes possible to use nextcloud-occ for setting extra configuration options. Example: systemd.services.nextcloud-setup = { script = mkAfter '' nextcloud-occ config:system:set redis 'host' --value '/var/run/redis/redis.sock' --type string nextcloud-occ config:system:set redis 'port' --value 0 --type integer ''; };
This commit is contained in:
parent
687debc45b
commit
4ea4408b9c
@ -390,6 +390,7 @@ in {
|
|||||||
in {
|
in {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
before = [ "phpfpm-nextcloud.service" ];
|
before = [ "phpfpm-nextcloud.service" ];
|
||||||
|
path = [ occ ];
|
||||||
script = ''
|
script = ''
|
||||||
chmod og+x ${cfg.home}
|
chmod og+x ${cfg.home}
|
||||||
ln -sf ${pkgs.nextcloud}/apps ${cfg.home}/
|
ln -sf ${pkgs.nextcloud}/apps ${cfg.home}/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user