diff --git a/base/packages.nix b/base/packages.nix index b0d0b0a..ab913fd 100644 --- a/base/packages.nix +++ b/base/packages.nix @@ -38,7 +38,7 @@ xsel ]; - fonts.packages = with pkgs; [ + fonts.fonts = with pkgs; [ vollkorn alegreya alegreya-sans b612 diff --git a/hosts/Rupert.nix b/hosts/Rupert.nix index aad751c..f1e8896 100644 --- a/hosts/Rupert.nix +++ b/hosts/Rupert.nix @@ -21,24 +21,6 @@ in boot.loader.efi.canTouchEfiVariables = true; boot.kernelParams = [ "acpi=force" "reboot=bios" ]; - boot.initrd.kernelModules = [ "i915" ]; - nixpkgs.config.packageOverrides = pkgs: { - vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; }; - }; - hardware.opengl = { - enable = true; - extraPackages = with pkgs; [ - (if (lib.versionOlder (lib.versions.majorMinor lib.version) "23.11") then vaapiIntel else intel-vaapi-driver) - libvdpau-va-gl - vaapiVdpau - # intel-media-driver - ]; - }; - environment.variables = { - VDPAU_DRIVER = "va_gl"; - }; - hardware.cpu.intel.updateMicrocode = true; - networking.hostName = "Rupert"; users.users = { @@ -74,7 +56,6 @@ in services.flatpak.enable = true; xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; xdg.portal.enable = true; - xdg.portal.config.common.default = "*"; hardware.bluetooth = { enable = true; diff --git a/hosts/hedgedoc.nix b/hosts/hedgedoc.nix index b237e92..336db42 100644 --- a/hosts/hedgedoc.nix +++ b/hosts/hedgedoc.nix @@ -5,6 +5,7 @@ in { services.hedgedoc = { enable = true; + workDir = "/data/hedgedoc"; environmentFile = "/secrets/hedgedoc.env"; settings = { port = 7000; diff --git a/hosts/nextcloud.nix b/hosts/nextcloud.nix index c5ac748..fd907d5 100644 --- a/hosts/nextcloud.nix +++ b/hosts/nextcloud.nix @@ -6,7 +6,7 @@ in services.nextcloud = { enable = true; https = true; - package = pkgs.nextcloud27; + package = pkgs.nextcloud26; hostName = hostName; datadir = "/data/nextcloud"; config = { @@ -19,6 +19,7 @@ in ]; }; caching.redis = true; + enableBrokenCiphersForSSE = false; }; services.postgresql = { @@ -26,14 +27,16 @@ in ensureUsers = [ { name = "nextcloud"; - ensureDBOwnership = true; + ensurePermissions = { + "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" ]; };