wildfire: 309 current 2025-06-22 12:56:39 25.05.20250617.36ab78d 6.15.2 *
Graphics config
This commit is contained in:
@ -17,13 +17,12 @@
|
||||
|
||||
networking.hostName = "wildfire";
|
||||
|
||||
hardware = {
|
||||
steam-hardware.enable = true;
|
||||
graphics.enable = true;
|
||||
};
|
||||
|
||||
# AMD GPU kernel module
|
||||
boot.initrd.kernelModules = ["amdgpu"];
|
||||
# AMD GPU support
|
||||
boot.initrd.kernelModules = ["amdgpu"]; # AMD GPU kernel module
|
||||
hardware.graphics.extraPackages = with pkgs; [
|
||||
rocmPackages.clr.icd # OpenCL
|
||||
amdvlk # AMDVLK drivers can be used in addition to the Mesa RADV drivers
|
||||
];
|
||||
|
||||
# Network security specific to host
|
||||
networking.firewall.allowedTCPPorts = [];
|
||||
@ -41,14 +40,17 @@
|
||||
];
|
||||
|
||||
# host-specific Systemd services
|
||||
systemd.services.lact = {
|
||||
description = "AMDGPU Control Daemon";
|
||||
after = ["multi-user.target"];
|
||||
wantedBy = ["multi-user.target"];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.lact}/bin/lact daemon";
|
||||
systemd = {
|
||||
packages = with pkgs; [lact];
|
||||
services.lact = {
|
||||
description = "AMDGPU Control Daemon";
|
||||
after = ["multi-user.target"];
|
||||
wantedBy = ["multi-user.target"];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.lact}/bin/lact daemon";
|
||||
};
|
||||
enable = true;
|
||||
};
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
|
@ -2,6 +2,6 @@
|
||||
# Home Manager Hyprland monitors
|
||||
wayland.windowManager.hyprland.settings.monitor = [
|
||||
"DP-3, 2560x1440@143.97, 1920x-360, 1"
|
||||
"HDMI-A-1, 1920x1080@50.00, 0x0, 1"
|
||||
"HDMI-A-1, 1920x1080@60.00, 0x0, 1"
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user