diff --git a/system/Northstar.nix b/system/Northstar.nix index fce57a1e..36fbd121 100644 --- a/system/Northstar.nix +++ b/system/Northstar.nix @@ -3,6 +3,32 @@ imports = [ ./laptop.nix ]; home-manager.users.${username} = { home.packages = [ pkgs.prusa-slicer ]; + wayland.windowManager.sway.config = { + output."eDP-1".scale = "1.25"; + workspaceOutputAssign = [ + { + output = "eDP-1"; + workspace = "1"; + } + ]; + }; + services.kanshi = { + enable = true; + settings = [ + { + profile = { + name = "default"; + outputs = [ + { + criteria = "eDP-1"; + scale = 1.25; + position = "0,0"; + } + ]; + }; + } + ]; + }; }; hardware.amdgpu.initrd.enable = true; } diff --git a/system/Tone.nix b/system/Tone.nix index 79b55edf..c2f02d09 100644 --- a/system/Tone.nix +++ b/system/Tone.nix @@ -3,6 +3,9 @@ imports = [ ./desktop.nix ]; home-manager.users.${username} = { imports = [ ./home/work.nix ]; + wayland.windowManager.sway.config = { + output."Dell Inc. DELL P3223QE CCG8YN3".scale = "1.5"; + }; }; boot = { loader.efi.efiSysMountPoint = "/boot/efi"; diff --git a/system/Vanguard.nix b/system/Vanguard.nix index c9bf09a6..0fa044e3 100644 --- a/system/Vanguard.nix +++ b/system/Vanguard.nix @@ -8,7 +8,6 @@ imports = [ ./desktop.nix ]; home-manager.users.${username} = { home.packages = with pkgs; [ - kdePackages.ktorrent krita kdenlive helvum @@ -33,7 +32,32 @@ input-overlay ]; }; - xdg.configFile."autostart/org.kde.ktorrent.desktop".source = "${pkgs.kdePackages.ktorrent}/share/applications/org.kde.ktorrent.desktop"; + wayland.windowManager.sway.config = { + output = { + "Microstep MSI G27CQ4 E2 Unknown" = { + mode = "2560x1440@120Hz"; + scale = "1.25"; + position = "1920 0"; + adaptive_sync = "on"; + }; + "Acer Technologies ED270R TJMEE0043W01" = { + mode = "1920x1080@120Hz"; + position = "0 140"; + adaptive_sync = "off"; + }; + }; + workspaceOutputAssign = [ + { + output = "DP-1"; + workspace = "2"; + } + { + output = "DP-2"; + workspace = "1"; + } + ]; + startup = [ { command = "${pkgs.xorg.xrandr}/bin/xrandr --output DP-1 --primary"; } ]; + }; }; boot = { extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];