forked from hacc/haccfiles
various absurd fixes
This commit is contained in:
parent
a17cd69a52
commit
f9d7496af7
3 changed files with 5 additions and 5 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue