diff --git a/nixos/configs/gui/niri.nix b/nixos/configs/gui/niri.nix index 3291aef..3701123 100644 --- a/nixos/configs/gui/niri.nix +++ b/nixos/configs/gui/niri.nix @@ -217,6 +217,14 @@ in proportion = 1.0; }; } + + # Keep our system monitor on the monitoring screen. + { + matches = [ { app-id = "io.missioncenter.MissionCenter"; } ]; + open-on-output = "Shenzhen Soogeen Electronics Co., LTD. L01N8A 0x01348C5C"; + open-fullscreen = true; + open-focused = false; + } ]; # @@ -353,6 +361,7 @@ in niri msg action spawn -- ${xwayland-satellite-loop}/bin/xwayland-satellite-loop niri msg action spawn -- home-assistant-desktop + niri msg action spawn -- ${pkgs.mission-center}/bin/missioncenter sleep 10 diff --git a/nixos/hosts/trailblazer/default.nix b/nixos/hosts/trailblazer/default.nix index 1eec891..ef9319d 100644 --- a/nixos/hosts/trailblazer/default.nix +++ b/nixos/hosts/trailblazer/default.nix @@ -154,6 +154,38 @@ in # # Niri configuration for our monitors. # + home-manager.users.deprekated = { + programs.niri.settings = { + + # Center monitor. + outputs."LG Electronics LG ULTRAFINE 408NTYT4A658" = { + position = { + x = 0; + y = 0; + }; + scale = 1.5; + transform.rotation = 270; + }; + + # Laptop screen. + outputs."Samsung Electric Company Odyssey G70B H1AK50000" = { + position = { + x = 1440; + y = 0; + }; + scale = 1.5; + }; + + # Front panel display. + outputs."Shenzhen Soogeen Electronics Co., LTD. L01N8A 0x01348C5C" = { + scale = 1.0; + transform.rotation = 90; + }; + }; + + # Also position waybar on only one monitor. + programs.waybar.settings.mainBar.output = "DP-2"; + }; # Override stylix font sizes. stylix.fonts.sizes.desktop = lib.mkForce 16; diff --git a/nixos/packages/gui.pkgs.nix b/nixos/packages/gui.pkgs.nix index 4cfdb4c..a4247cc 100644 --- a/nixos/packages/gui.pkgs.nix +++ b/nixos/packages/gui.pkgs.nix @@ -13,7 +13,7 @@ let # Hack wine to not explode when starting MLO. - wineWayland = pkgs.wineWowPackages.waylandFull; + wineWayland = pkgs.wineWowPackages.full; wine = wineWayland.overrideAttrs (prev: { patches = prev.patches ++ [