feat: Update compute01, storage01 to 23.11

This commit is contained in:
Tom Hubrecht 2023-11-29 16:12:24 +01:00
parent 18b6b0f605
commit 0dc3dfd82d
9 changed files with 14 additions and 8 deletions

View file

@ -364,7 +364,7 @@ in {
ensureUsers = optional (cfg.user == "ds-fr") { ensureUsers = optional (cfg.user == "ds-fr") {
name = "ds-fr"; name = "ds-fr";
ensurePermissions = { "DATABASE \"ds-fr\"" = "ALL PRIVILEGES"; }; ensureDBOwnership = true;
}; };
extraPlugins = with config.services.postgresql.package.pkgs; extraPlugins = with config.services.postgresql.package.pkgs;

View file

@ -41,7 +41,7 @@ in {
ensureUsers = [{ ensureUsers = [{
name = "hedgedoc"; name = "hedgedoc";
ensurePermissions = { "DATABASE hedgedoc" = "ALL PRIVILEGES"; }; ensureDBOwnership = true;
}]; }];
}; };
}; };

View file

@ -12,6 +12,8 @@ in {
}; };
streamingProcesses = 4;
configureNginx = true; configureNginx = true;
extraConfig = { extraConfig = {

View file

@ -68,8 +68,6 @@ in {
autoUpdateApps.enable = true; autoUpdateApps.enable = true;
enableBrokenCiphersForSSE = false;
extraOptions = { extraOptions = {
overwritehost = host; overwritehost = host;
"overwrite.cli.url" = "https://${host}"; "overwrite.cli.url" = "https://${host}";

View file

@ -64,7 +64,7 @@ in {
ensureUsers = [{ ensureUsers = [{
name = "vaultwarden"; name = "vaultwarden";
ensurePermissions = { "DATABASE vaultwarden" = "ALL PRIVILEGES"; }; ensureDBOwnership = true;
}]; }];
}; };
}; };

View file

@ -61,7 +61,7 @@ in {
ensureUsers = [{ ensureUsers = [{
name = "atticd"; name = "atticd";
ensurePermissions = { "DATABASE \"atticd\"" = "ALL PRIVILEGES"; }; ensureDBOwnership = true;
}]; }];
}; };
}; };

View file

@ -16,6 +16,7 @@ in {
user = "git"; user = "git";
name = "gitea"; name = "gitea";
passwordFile = config.age.secrets."forgejo-database_password_file".path; passwordFile = config.age.secrets."forgejo-database_password_file".path;
createDatabase = false;
}; };
settings = { settings = {

View file

@ -1,4 +1,4 @@
{ config, ... }: { config, pkgs, ... }:
let let
host = "s3.dgnum.eu"; host = "s3.dgnum.eu";
@ -13,9 +13,13 @@ in {
services.garage = { services.garage = {
enable = true; enable = true;
package = pkgs.garage_0_8;
settings = { settings = {
inherit data_dir metadata_dir; inherit data_dir metadata_dir;
db_engine = "sled";
replication_mode = "none"; replication_mode = "none";
compression_level = 7; compression_level = 7;

View file

@ -17,7 +17,7 @@ let
deployment = { }; deployment = { };
nixpkgs = "23.05"; nixpkgs = "23.11";
} // attrs; } // attrs;
in in
@ -27,6 +27,7 @@ builtins.mapAttrs mkNode {
tags = [ "web" ]; tags = [ "web" ];
}; };
nixpkgs = "23.05";
stateVersion = "23.05"; stateVersion = "23.05";
}; };