24.05 Preparation

master
David Crompton 2024-01-16 11:22:24 -05:00
parent cd6c4635b3
commit 3e488d7da0
3 changed files with 5 additions and 7 deletions

View File

@ -21,7 +21,7 @@
]; ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.initrd.services.swraid.enable = true; boot.swraid.enable = true;
# Cache and Thin Provisioning Support # Cache and Thin Provisioning Support
services.lvm.boot.thin.enable = true; services.lvm.boot.thin.enable = true;

View File

@ -43,9 +43,8 @@ in {
port = 5432; port = 5432;
ensureUsers = [{ ensureUsers = [{
name = "gitea"; name = "gitea";
ensurePermissions = { # Ensures gitea user owns a db called gitea
"DATABASE \"gitea\"" = "ALL PRIVILEGES"; ensureDBOwnership = true;
};
ensureClauses = { ensureClauses = {
createdb = true; createdb = true;
}; };

View File

@ -53,9 +53,8 @@
]; ];
ensureUsers = [{ ensureUsers = [{
name = "guacamole"; name = "guacamole";
ensurePermissions = { # Ensures guacamole user owns a db called guacamole
"DATABASE \"guacamole\"" = "ALL PRIVILEGES"; ensureDBOwnership = true;
};
ensureClauses = { ensureClauses = {
createdb = true; createdb = true;
}; };