Rupert: Add changes for 23.11

This commit is contained in:
fruchti 2023-12-02 21:36:19 +01:00
parent f678ad57f8
commit 131c18230a
4 changed files with 10 additions and 13 deletions

View file

@ -38,7 +38,7 @@
xsel xsel
]; ];
fonts.fonts = with pkgs; [ fonts.packages = with pkgs; [
vollkorn vollkorn
alegreya alegreya-sans alegreya alegreya-sans
b612 b612

View file

@ -74,6 +74,7 @@ in
services.flatpak.enable = true; services.flatpak.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
xdg.portal.enable = true; xdg.portal.enable = true;
xdg.portal.config.common.default = "*";
hardware.bluetooth = { hardware.bluetooth = {
enable = true; enable = true;

View file

@ -5,7 +5,6 @@ in
{ {
services.hedgedoc = { services.hedgedoc = {
enable = true; enable = true;
workDir = "/data/hedgedoc";
environmentFile = "/secrets/hedgedoc.env"; environmentFile = "/secrets/hedgedoc.env";
settings = { settings = {
port = 7000; port = 7000;

View file

@ -6,7 +6,7 @@ in
services.nextcloud = { services.nextcloud = {
enable = true; enable = true;
https = true; https = true;
package = pkgs.nextcloud26; package = pkgs.nextcloud27;
hostName = hostName; hostName = hostName;
datadir = "/data/nextcloud"; datadir = "/data/nextcloud";
config = { config = {
@ -19,7 +19,6 @@ in
]; ];
}; };
caching.redis = true; caching.redis = true;
enableBrokenCiphersForSSE = false;
}; };
services.postgresql = { services.postgresql = {
@ -27,16 +26,14 @@ in
ensureUsers = [ ensureUsers = [
{ {
name = "nextcloud"; name = "nextcloud";
ensurePermissions = { ensureDBOwnership = true;
"DATABASE nextcloud" = "ALL PRIVILEGES";
};
}
{
name = "superuser";
ensurePermissions = {
"ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
};
} }
# {
# name = "superuser";
# ensurePermissions = {
# "ALL TABLES IN SCHEMA public" = "ALL PRIVILEGES";
# };
# }
]; ];
ensureDatabases = [ "nextcloud" ]; ensureDatabases = [ "nextcloud" ];
}; };