various absurd fixes

onlyoffice-nix
stuebinm 2023-09-27 18:24:18 +02:00
parent a17cd69a52
commit f9d7496af7
3 changed files with 5 additions and 5 deletions

View File

@ -202,7 +202,7 @@ in {
name = "mattermost";
ensurePermissions = { "mattermost.*" = "ALL PRIVILEGES"; };
} ];
package = pkgs.mysql;
package = pkgs.mysql80;
dataDir = "/persist/mysql";
};

View File

@ -32,7 +32,7 @@
# must be set manually; may not be incremented by more than one at
# a time, otherwise nextcloud WILL break
package = pkgs.nextcloud25;
package = pkgs.nextcloud27;
home = "/persist/nextcloud";
https = true;
@ -47,7 +47,7 @@
dbhost = "/run/postgresql"; # nextcloud will add /.s.PGSQL.5432 by itself
dbname = "nextcloud";
# socket auth does not needs this, but the module insists it does
adminpassFile = "/lol/nope";
adminpassFile = "/persist/adminpassfile";
adminuser = "root";
};

View File

@ -58,8 +58,8 @@ in {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig.Type = "simple";
path = [ pkgs.curl pkgs.jq ];
script = "${pkgs.fish}/bin/fish /persist/magic/mattermost-groupsync.fish";
path = [ pkgs.fish pkgs.curl pkgs.jq ];
script = "/persist/magic/mattermost-groupsync.fish";
startAt = "*:0/15";
};
}