From 4dabc8e0e65ab5ceef329b41ecf36723f137d401 Mon Sep 17 00:00:00 2001 From: Markus Schmidl Date: Fri, 3 Jan 2025 18:33:40 +0100 Subject: [PATCH] fix deprecation warnings --- hardware/tetra-zw.nix | 7 +++---- hosts/tram-borzoi/postgres.nix | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hardware/tetra-zw.nix b/hardware/tetra-zw.nix index 4b2830c..4fcbd0c 100644 --- a/hardware/tetra-zw.nix +++ b/hardware/tetra-zw.nix @@ -45,16 +45,15 @@ hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; - # Enable OpenCL - hardware.opengl = { + # Enable OpenGL/OpenCL + hardware.graphics = { enable = true; - driSupport32Bit = true; + enable32Bit = true; extraPackages = with pkgs; [ rocmPackages.clr.icd rocmPackages.clr rocmPackages.rocminfo rocmPackages.rocm-runtime - #rocm-opencl-icd rocmPackages.rocm-smi ]; }; diff --git a/hosts/tram-borzoi/postgres.nix b/hosts/tram-borzoi/postgres.nix index dd64321..374df91 100644 --- a/hosts/tram-borzoi/postgres.nix +++ b/hosts/tram-borzoi/postgres.nix @@ -9,7 +9,7 @@ owner = config.users.users.postgres.name; }; services.postgresql = { - inherit (registry.postgres) port; + settings.port = registry.postgres.port; enable = true; enableTCPIP = true; authentication =