From c1daed5370b8ca2555c12cb5f248b5891bc8896a Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Mon, 27 Jul 2026 22:58:52 +0530 Subject: feat: using ungoogled-chromium, accelerated graphics for hyprland - Switch to using ungoogled-chromium package instead of chromium to get away from google tracking - Installing extensions unpacked from their source code/zip downloads for ungoogled-chromium - Using hl.env to pass environment variables to hyprland as home.sessionVariables don't get passed - Fixed the graphics acceleration for hyprland, but passing the environment variables through hl.env --- modules/desktop/hyprland/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/desktop') diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index 4c5281d..1e48e3f 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -20,13 +20,13 @@ in primaryCard = lib.mkOption { type = lib.types.str; - default = "/dev/dri/by-path/pci-0000:05:00.0-card"; + default = "/dev/dri/gpu-amd"; description = "Path to primary DRM card device for Aquamarine/Hyprland rendering"; }; secondaryCard = lib.mkOption { type = lib.types.nullOr lib.types.str; - default = "/dev/dri/by-path/pci-0000:01:00.0-card"; + default = "/dev/dri/gpu-nvidia"; description = "Path to secondary DRM card device for offloading (null if single GPU)"; }; }; -- cgit v1.2.3