feat(hypr): run on nvidia alone!
This commit is contained in:
parent
b000585104
commit
fa021cc190
|
@ -43,9 +43,11 @@
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
|
|
||||||
nvidia.modesetting.enable = true;
|
nvidia.modesetting.enable = true;
|
||||||
|
# nvidia.dynamicBoost.enable = true;
|
||||||
|
nvidia.nvidiaSettings = true;
|
||||||
nvidia.powerManagement.enable = true;
|
nvidia.powerManagement.enable = true;
|
||||||
nvidia.prime = {
|
nvidia.prime = {
|
||||||
offload.enable = false;
|
offload.enable = true;
|
||||||
nvidiaBusId = "PCI:1:0:0";
|
nvidiaBusId = "PCI:1:0:0";
|
||||||
intelBusId = "PCI:0:2:0";
|
intelBusId = "PCI:0:2:0";
|
||||||
};
|
};
|
||||||
|
|
|
@ -77,6 +77,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
hyprlandConfig = ''
|
hyprlandConfig = ''
|
||||||
|
${
|
||||||
|
if nixosConfig.settings.nvidiaUsed
|
||||||
|
then ''
|
||||||
|
# Prevent cursor from disappering under nvidia :')
|
||||||
|
env = WLR_NO_HARDWARE_CURSORS,1
|
||||||
|
''
|
||||||
|
else ""
|
||||||
|
}
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
${
|
${
|
||||||
if nixosConfig.networking.hostName == "helix-texta"
|
if nixosConfig.networking.hostName == "helix-texta"
|
||||||
|
@ -95,7 +103,7 @@
|
||||||
|
|
||||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
exec-once=${pkgs.waybar-hypr}/bin/waybar
|
exec-once=${pkgs.waybar-hypr}/bin/waybar
|
||||||
exec-once=hyprpaper
|
exec-once=${pkgs.hyprpaper}/bin/hyprpaper
|
||||||
exec-once=${runWob}/bin/run-wob
|
exec-once=${runWob}/bin/run-wob
|
||||||
|
|
||||||
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
|
Loading…
Reference in a new issue