Update display settings

This commit is contained in:
Thomas Avé 2024-11-05 10:34:27 +01:00
parent 9a21f7f4b3
commit bc846a53eb
3 changed files with 6 additions and 17 deletions

View File

@ -19,25 +19,16 @@
services.hyprpaper = {
settings = {
wallpaper = [
"HDMI-A-1,${./hyprland/files/wallpaper.png}"
"HDMI-A-2,${./hyprland/files/wallpaper.png}"
"DP-1,${./hyprland/files/wallpaper.png}"
"eDP-1,${./hyprland/files/wallpaper.png}"
"eDP-2,${./hyprland/files/wallpaper.png}"
];
};
};
# wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:01:00.0-card"]; # Nvidia
# wayland.windowManager.hyprland.settings.env = ["WLR_DRM_DEVICES,/dev/dri/by-path/pci-0000:00:02.0-card"]; # Intel
wayland.windowManager.hyprland.settings = {
exec-once = [
# "${pkgs.swaylock-fancy}/bin/swaylock-fancy"
];
monitor = [
"eDP-1,1920x1080@144,0x0,1"
"eDP-2,1920x1080@144,0x0,1"
# "HDMI-A-2,1920x1080@60,0x-1080,1"
# "HDMI-A-1,1920x1080@60,0x-1080,1"
"eDP-1,1920x1080@60,0x0,1"
"DP-1,1920x1080@60,0x-1080,1"
];
bind = [
", XF86PowerOff, exec, ${pkgs.rofi}/bin/rofi -show power-menu -modi power-menu:${

View File

@ -20,9 +20,7 @@
settings = {
wallpaper = [
"HDMI-A-1,${./hyprland/files/wallpaper.png}"
"HDMI-A-2,${./hyprland/files/wallpaper.png}"
"eDP-1,${./hyprland/files/wallpaper.png}"
"eDP-2,${./hyprland/files/wallpaper.png}"
];
};
};
@ -34,9 +32,8 @@
# "${pkgs.swaylock-fancy}/bin/swaylock-fancy"
];
monitor = [
"eDP-1,1920x1080@144,0x0,1.25"
# "HDMI-A-2,1920x1080@60,0x-1080,1"
# "HDMI-A-1,1920x1080@60,0x-1080,1"
"eDP-1,1920x1080@60,0x0,1.25"
"HDMI-A-1,1920x1080@60,0x-1080,1"
];
bind = [
", XF86PowerOff, exec, ${pkgs.rofi}/bin/rofi -show power-menu -modi power-menu:${

View File

@ -7,6 +7,7 @@ in {
(import ../Common/desktop.nix { inherit inputs pkgs config; })
(import ../Common/nfs.nix { inherit pkgs serverIP; })
(import ../Common/zfs.nix {inherit inputs pkgs config; })
(import ../Common/android.nix { inherit pkgs serverIP; })
];
hardware.graphics.extraPackages = [