Downgrade, this doesn't work

This commit is contained in:
Lillian-Violet 2023-11-26 19:20:45 +01:00
parent 17e8174a59
commit 6c3eec057f
3 changed files with 35 additions and 33 deletions

View file

@ -208,5 +208,5 @@
boot.loader.efi.canTouchEfiVariables = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.05";
system.stateVersion = "unstable";
}

View file

@ -93,22 +93,24 @@
services.postgresql = {
enable = true;
package = pkgs.postgresql;
# Ensure the database, user, and permissions always exist
ensureDatabases = ["nextcloud" "onlyoffice" "akkoma"];
ensureUsers = [
{
name = "nextcloud";
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
}
{
name = "onlyoffice";
ensurePermissions."DATABASE onlyoffice" = "ALL PRIVILEGES";
}
{
name = "akkoma";
ensurePermissions."DATABASE akkoma" = "ALL PRIVILEGES";
}
];
# ensureUsers = [
# {
# name = "nextcloud";
# ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
# }
# {
# name = "onlyoffice";
# ensurePermissions."DATABASE onlyoffice" = "ALL PRIVILEGES";
# }
# {
# name = "akkoma";
# ensurePermissions."DATABASE akkoma" = "ALL PRIVILEGES";
# }
# ];
};
services.aria2 = {