diff --git a/kili/home.nix b/kili/home.nix index 6a5e7c0..a25e044 100644 --- a/kili/home.nix +++ b/kili/home.nix @@ -31,7 +31,36 @@ packages = with pkgs; [ p1n3appl3.tab ]; + }; + programs.niri.settings = { + # main laptop screen + outputs."eDP-1" = { + mode = { + width = 1928; + height = 1200; + refresh = 59.987; + }; + position = { + x = 0; + y = 0; + }; + }; + + outputs."LG Electronics LG ULTRAWIDE 411NTBK28189" = { + mode = { + width = 3440; + height = 1440; + refresh = 59.987; + }; + position = { + x = -3440; + y = 240; + }; + + # focus the external screen first + focus-at-startup = true; + }; }; home.file = {