Adapt more services to 22.11
This commit is contained in:
parent
f8025f5b84
commit
dbdbb5f0a5
3 changed files with 6 additions and 5 deletions
|
@ -35,7 +35,8 @@ with lib; let
|
||||||
nextcloudConf = hostname: {
|
nextcloudConf = hostname: {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostName = hostname;
|
hostName = hostname;
|
||||||
package = pkgs.nextcloud24;
|
package = pkgs.nextcloud25;
|
||||||
|
enableBrokenCiphersForSSE = false;
|
||||||
maxUploadSize = "10g";
|
maxUploadSize = "10g";
|
||||||
caching = {
|
caching = {
|
||||||
redis = true;
|
redis = true;
|
||||||
|
|
|
@ -25,5 +25,5 @@
|
||||||
|
|
||||||
swapDevices = [{device = "/dev/disk/by-uuid/1e651bde-94b5-4fe2-9e6a-7af916d80057";}];
|
swapDevices = [{device = "/dev/disk/by-uuid/1e651bde-94b5-4fe2-9e6a-7af916d80057";}];
|
||||||
|
|
||||||
nix.maxJobs = lib.mkDefault 4;
|
nix.settings.max-jobs = lib.mkDefault 4;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,11 +33,11 @@ in {
|
||||||
services = {
|
services = {
|
||||||
grafana = {
|
grafana = {
|
||||||
enable = true;
|
enable = true;
|
||||||
auth.anonymous.enable = true;
|
|
||||||
settings = {
|
settings = {
|
||||||
secrutiy.allow_embedding = "true";
|
"auth.anonymous".enable = true;
|
||||||
|
secrutiy.allow_embedding = true;
|
||||||
users.default_theme = "light";
|
users.default_theme = "light";
|
||||||
"auth.basic".enabled = "false";
|
"auth.basic".enabled = false;
|
||||||
dashboards.default_home_dashboard_path = "${dashboards}/health-status.json";
|
dashboards.default_home_dashboard_path = "${dashboards}/health-status.json";
|
||||||
};
|
};
|
||||||
provision = {
|
provision = {
|
||||||
|
|
Loading…
Reference in a new issue