various absurd fixes

This commit is contained in:
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"; name = "mattermost";
ensurePermissions = { "mattermost.*" = "ALL PRIVILEGES"; }; ensurePermissions = { "mattermost.*" = "ALL PRIVILEGES"; };
} ]; } ];
package = pkgs.mysql; package = pkgs.mysql80;
dataDir = "/persist/mysql"; dataDir = "/persist/mysql";
}; };

View file

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

View file

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