From 312375d541bee9817e7a0dfb93607bfa8f380ae8 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Sun, 20 Oct 2024 09:58:28 +0700 Subject: [PATCH] castle: added AMD Gpu support and Lact --- hardware-configuration/castle.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/hardware-configuration/castle.nix b/hardware-configuration/castle.nix index 09f90be..2755a45 100644 --- a/hardware-configuration/castle.nix +++ b/hardware-configuration/castle.nix @@ -15,6 +15,17 @@ boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; + hardware.opengl = { + enable = true; + driSupport = true; + driSupport32Bit = true; + extraPackages = with pkgs; [ amdvlk ]; + }; + + environment.systemPackages = with pkgs; [ lact ]; + systemd.packages = with pkgs; [ lact ]; + systemd.services.lactd.wantedBy = [ "multi-user.target" ]; + system.fsPackages = [ pkgs.bindfs pkgs.cifs-utils ]; fileSystems."/nas" = {