From 4ba888bc9e1dcc7b11c96bed9fb23831a802ca9a Mon Sep 17 00:00:00 2001 From: Nathan Anderson Date: Thu, 19 Sep 2024 17:38:46 -0600 Subject: [PATCH] Update jaci drivers --- flake.lock | 6 +++--- jaci/default.nix | 2 +- jaci/modules/labwc/labwc_conf.nix | 10 ++++++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 613fb68..b2c7b70 100644 --- a/flake.lock +++ b/flake.lock @@ -55,11 +55,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1719254875, - "narHash": "sha256-ECni+IkwXjusHsm9Sexdtq8weAq/yUyt1TWIemXt3Ko=", + "lastModified": 1726463316, + "narHash": "sha256-gI9kkaH0ZjakJOKrdjaI/VbaMEo9qBbSUl93DnU7f4c=", "owner": "nixos", "repo": "nixpkgs", - "rev": "2893f56de08021cffd9b6b6dfc70fd9ccd51eb60", + "rev": "99dc8785f6a0adac95f5e2ab05cc2e1bf666d172", "type": "github" }, "original": { diff --git a/jaci/default.nix b/jaci/default.nix index c8fbdf7..313deb8 100644 --- a/jaci/default.nix +++ b/jaci/default.nix @@ -27,7 +27,7 @@ nix.gc = { automatic = true; dates = "weekly"; - options = "--delete-older-than 1w"; + options = "--delete-older-than 21d"; }; # Optimize storage diff --git a/jaci/modules/labwc/labwc_conf.nix b/jaci/modules/labwc/labwc_conf.nix index 8f8b007..0c8003a 100644 --- a/jaci/modules/labwc/labwc_conf.nix +++ b/jaci/modules/labwc/labwc_conf.nix @@ -136,8 +136,14 @@ security.polkit.enable = true; hardware.opengl = { - enable = true; - driSupport = true; + # Mesa + # enable = true; + # Vulkan + # driSupport = true; + # Rocm support and vulkan drivers + extraPackages = with pkgs; [ + rocmPackages.clr.icd + ]; }; }; }