From a3d810723c458285b5cdee72eb904457cb45086e Mon Sep 17 00:00:00 2001 From: wayne <...> Date: Mon, 14 Oct 2024 17:13:24 -0700 Subject: [PATCH] SDDM Monitor Fix Try 1 --- flake.nix | 1 - hm/home.nix | 2 +- modules/wm.nix | 6 ++++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e27af70..5dcf35c 100644 --- a/flake.nix +++ b/flake.nix @@ -38,7 +38,6 @@ # GnuCobal.url="/home/wayne/Flakes/derivations/GnuCobal/"; - # kmonad = { # url = "git+https://github.com/kmonad/kmonad?submodules=1&dir=nix"; # inputs.nixpkgs.follows = "nixpkgs"; diff --git a/hm/home.nix b/hm/home.nix index 8bd47d6..45d691b 100644 --- a/hm/home.nix +++ b/hm/home.nix @@ -169,7 +169,7 @@ in wdisplays waybar hyprpaper hyprlock hypridle wlogout rofi-wayland wev clipman cliphist wl-clip-persist wl-clipboard polycat qt5.qtwayland qt6.qtwayland qt5ct qt6ct hyprshot hyprpicker dconf wayland-utils wayland-protocols qalculate-qt - blueman networkmanagerapplet swayosd + blueman networkmanagerapplet swayosd wlr-randr base16-schemes base16-shell-preview # hyprcursor nordzy-icon-theme diff --git a/modules/wm.nix b/modules/wm.nix index b2d4214..a474c03 100644 --- a/modules/wm.nix +++ b/modules/wm.nix @@ -11,6 +11,12 @@ videoDrivers = [ "nvidia" ]; }; + services.xserver.displayManager.setupCommands = '' + wlr-randr --output DP-4 --auto --primary + wlr-randr --output DP-3 --left-of DP-4 + wlr-randr --output DP-1 --right-of DP-4 --rotate left --noprimary + ''; + services.displayManager.sddm = { enable = true; autoNumlock = true;