Downgrade, this doesn't work
This commit is contained in:
parent
17e8174a59
commit
6c3eec057f
3 changed files with 35 additions and 33 deletions
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue