Compare commits

...

2 Commits

Author SHA1 Message Date
c63fa48614 wildfire: 309 current 2025-06-22 12:56:39 25.05.20250617.36ab78d 6.15.2 *
Graphics config
2025-06-22 13:07:44 +02:00
1a2b1f157b wildfire: 306 current 2025-06-21 15:47:48 25.05.20250617.36ab78d 6.15.2 *
cursor issues
wildfire: 307 current  2025-06-21 15:53:10  25.05.20250617.36ab78d  6.15.2                          *
2025-06-22 13:07:32 +02:00
6 changed files with 39 additions and 26 deletions

View File

@@ -14,10 +14,6 @@
networking.hostName = "hurricane"; networking.hostName = "hurricane";
hardware = {
graphics.enable = true;
};
# Network security specific to host # Network security specific to host
networking.firewall.allowedTCPPorts = []; networking.firewall.allowedTCPPorts = [];
networking.firewall.allowedUDPPorts = []; networking.firewall.allowedUDPPorts = [];
@@ -25,8 +21,27 @@
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
# Intel GPU support
hardware = {
graphics.extraPackages = with pkgs; [
vaapiIntel
intel-media-driver
];
opengl = {
enable = true;
extraPackages = with pkgs; [
vpl-gpu-rt # Intel GPU support
intel-media-driver # LIBVA_DRIVER_NAME=iHD
intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
libvdpau-va-gl
];
};
};
# host-specific packages # host-specific packages
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
btop
]; ];
# host-specific Systemd services # host-specific Systemd services

View File

@@ -17,13 +17,12 @@
networking.hostName = "wildfire"; networking.hostName = "wildfire";
hardware = { # AMD GPU support
steam-hardware.enable = true; boot.initrd.kernelModules = ["amdgpu"]; # AMD GPU kernel module
graphics.enable = true; hardware.graphics.extraPackages = with pkgs; [
}; rocmPackages.clr.icd # OpenCL
amdvlk # AMDVLK drivers can be used in addition to the Mesa RADV drivers
# AMD GPU kernel module ];
boot.initrd.kernelModules = ["amdgpu"];
# Network security specific to host # Network security specific to host
networking.firewall.allowedTCPPorts = []; networking.firewall.allowedTCPPorts = [];
@@ -41,14 +40,17 @@
]; ];
# host-specific Systemd services # host-specific Systemd services
systemd.services.lact = { systemd = {
description = "AMDGPU Control Daemon"; packages = with pkgs; [lact];
after = ["multi-user.target"]; services.lact = {
wantedBy = ["multi-user.target"]; description = "AMDGPU Control Daemon";
serviceConfig = { after = ["multi-user.target"];
ExecStart = "${pkgs.lact}/bin/lact daemon"; 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 # This value determines the NixOS release from which the default

View File

@@ -1,7 +1,7 @@
{ {
# Home Manager Hyprland monitors # Home Manager Hyprland monitors
wayland.windowManager.hyprland.settings.monitor = [ wayland.windowManager.hyprland.settings.monitor = [
"DP-3, 2560x1440@143.97, 1920x-360, 1, vrr, 1" "DP-3, 2560x1440@143.97, 1920x-360, 1"
"HDMI-A-1, 1920x1080@50.00, 0x0, 1" "HDMI-A-1, 1920x1080@60.00, 0x0, 1"
]; ];
} }

View File

@@ -1,7 +1,7 @@
{pkgs, ...}: { {pkgs, ...}: {
home.pointerCursor = { home.pointerCursor = {
enable = true; enable = true;
size = 28; size = 32;
#name = "capitaine-cursors-themed"; #name = "capitaine-cursors-themed";
#package = pkgs.capitaine-cursors-themed; #package = pkgs.capitaine-cursors-themed;
name = "capitaine-cursors"; name = "capitaine-cursors";

View File

@@ -14,10 +14,6 @@
name = "Adwaita"; name = "Adwaita";
package = pkgs.adwaita-icon-theme; package = pkgs.adwaita-icon-theme;
}; };
cursorTheme = {
name = "Adwaita";
package = pkgs.adwaita-icon-theme;
};
}; };
# ================================ # ================================

View File

@@ -9,7 +9,7 @@ in {
"hyprpaper" "hyprpaper"
"hypridle" "hypridle"
"hyprsunset" "hyprsunset"
"hyprctl setcursor capitaine-cursors-white 28" # Set mouse cursor "hyprctl setcursor capitaine-cursors-white 32" # Set mouse cursor
"wl-paste --type text --watch cliphist store" # Stores only text data "wl-paste --type text --watch cliphist store" # Stores only text data
"wl-paste --type image --watch cliphist store" # Stores only image data "wl-paste --type image --watch cliphist store" # Stores only image data
]; ];