From 3697ebdd185445fa04d5996f84aca8a1dd0a5e0d Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Mon, 27 May 2024 16:23:33 +0200 Subject: [PATCH] Centralize display configuration --- modules/home/de/hyprland/default.nix | 5 +++++ users/seb/@inspiron.nix | 2 -- users/seb/@north.nix | 4 ---- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/modules/home/de/hyprland/default.nix b/modules/home/de/hyprland/default.nix index c1860ef..a5b1e24 100644 --- a/modules/home/de/hyprland/default.nix +++ b/modules/home/de/hyprland/default.nix @@ -37,6 +37,11 @@ "cliphist wipe && wl-paste --watch cliphist store" ]; + monitor = [ + "eDP-1,1920x1080@60,0x0,1" + "DP-2,2560x1440@144,0x0,1" + ]; + input = { kb_layout = "de"; kb_variant = "nodeadkeys"; diff --git a/users/seb/@inspiron.nix b/users/seb/@inspiron.nix index b3f6d5b..a37bc0c 100644 --- a/users/seb/@inspiron.nix +++ b/users/seb/@inspiron.nix @@ -6,7 +6,5 @@ home.packages = [ (wrappers.hypridle { lockOnSleep = true; }) ]; myConfig.de.theme = "light"; - - wayland.windowManager.hyprland.settings.monitor = "eDP-1,1920x1080@60,0x0,1"; }; } diff --git a/users/seb/@north.nix b/users/seb/@north.nix index 48096ed..50333f8 100644 --- a/users/seb/@north.nix +++ b/users/seb/@north.nix @@ -17,9 +17,5 @@ ]; myConfig.de.theme = "dark"; - - wayland.windowManager.hyprland.settings.monitor = "DP-2,2560x1440@144,0x0,1"; - - services.hypridle.settings.general.before_sleep_cmd = lib.mkForce ""; }; }