aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/hyprland/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-27 22:58:52 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-27 23:04:07 +0530
commitc1daed5370b8ca2555c12cb5f248b5891bc8896a (patch)
tree06c1f13e9b499458ffced4865c4d158fda06df36 /modules/desktop/hyprland/default.nix
parent1079bdef3a4630c915f62c437187a821167e8d7b (diff)
downloadhome-manager-config-c1daed5370b8ca2555c12cb5f248b5891bc8896a.tar.gz
home-manager-config-c1daed5370b8ca2555c12cb5f248b5891bc8896a.zip
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
Diffstat (limited to 'modules/desktop/hyprland/default.nix')
-rw-r--r--modules/desktop/hyprland/default.nix4
1 files changed, 2 insertions, 2 deletions
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)";
};
};