feat(hyprland): tweak monitors again

This commit is contained in:
Mohammad Rafiq 2025-03-17 16:04:36 +08:00
parent 26c1cc06c3
commit 8278d4d8e0
2 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,5 @@
{
inputs,
pkgs,
config,
...
@ -20,6 +21,7 @@
nvidia-container-toolkit.enable = true;
graphics = {
enable = true;
package = inputs.hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}.mesa.drivers;
extraPackages = with pkgs; [
nvidia-vaapi-driver # hardware acceleration
];
@ -29,6 +31,7 @@
# powerManagement.enable = true;
open = false;
nvidiaSettings = true;
nvidiaPersistenced = true;
package = config.boot.kernelPackages.nvidiaPackages.latest;
};
};

View file

@ -16,14 +16,14 @@
# Monitors
monitor = [
# "DP-1, preferred, auto, 1"
# "HDMI-A-1, 1920x1080@60, -1280x0, 1.5"
"desc:OOO AN-270W04K, 3840x2160@60, auto, auto"
"desc:Philips Consumer Electronics Company PHL 246V5 AU11330000086, 1920x1080@60, auto-left, auto, transform, 3"
", preferred, auto, 1"
];
# Switching to the current workspace will switch to the previous
binds.workspace_back_and_forth = true;
cursor.default_monitor = "HDMI-A-2";
cursor.default_monitor = "HDMI-A-1";
# Windows
general = {