castle: added AMD Gpu support and Lact

This commit is contained in:
Tigor Hutasuhut 2024-10-20 09:58:28 +07:00
parent 5b79c7d06b
commit 312375d541

View file

@ -15,6 +15,17 @@
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; 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 ]; system.fsPackages = [ pkgs.bindfs pkgs.cifs-utils ];
fileSystems."/nas" = fileSystems."/nas" =
{ {