24.05 Preparation
parent
cd6c4635b3
commit
3e488d7da0
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue