Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

FIX[ODIN] sway display management

+22 -15
+4 -2
gui.nix
··· 1 - { pkgs, ... }: 2 - { 1 + { pkgs, ... }: let 2 + unstable = import <nixos-unstable> { }; 3 + in { 3 4 # Enable the X11 windowing system. 4 5 services.xserver.enable = true; 5 6 ··· 49 50 # Enable the sway window manager 50 51 programs.sway = { 51 52 enable = true; 53 + package = unstable.sway; 52 54 wrapperFeatures.gtk = true; 53 55 }; 54 56 # Use greetd as the displaymanager
+18 -13
sway/odin
··· 2 2 #workspace $ws1 output DP-6 3 3 #workspace $ws2 output HDMI-A-1 4 4 5 - # HDMI is the main output 6 - output HDMI-A-1 pos 0 0 7 - output HDMI-A-1 adaptive_sync off 8 - output DP-9 pos -430 1440 9 - output DP-9 adaptive_sync on 10 - # Sometimes the DP identifier changes for some reason 11 - output DP-6 pos -430 1440 12 - output DP-6 adaptive_sync on 13 - output DP-10 pos -430 1440 14 - output DP-10 adaptive_sync on 15 - # The HDMI gets messed up too :( 16 - output HDMI-A-2 pos 0 0 17 - output HDMI-A-2 adaptive_sync off 5 + output "Acer Technologies XV272U 0x0000A50C" { 6 + mode 2560x1440@143.999Hz 7 + pos 440 0 8 + transform normal 9 + scale 1.0 10 + scale_filter nearest 11 + adaptive_sync off 12 + dpms on 13 + } 14 + output "LG Electronics LG ULTRAGEAR 307NTPC58464" { 15 + mode 3440x1440@85.0Hz 16 + pos 0 1440 17 + transform normal 18 + scale 1.0 19 + scale_filter nearest 20 + adaptive_sync on 21 + dpms on 22 + }