feat(home): Autorandr
This commit is contained in:
parent
8eed342bdd
commit
4efc63bf98
2 changed files with 41 additions and 0 deletions
39
homes/x86_64-linux/marley@nyx/autorandr.nix
Normal file
39
homes/x86_64-linux/marley@nyx/autorandr.nix
Normal file
|
@ -0,0 +1,39 @@
|
|||
_: {
|
||||
programs.autorandr = {
|
||||
enable = true;
|
||||
|
||||
profiles = {
|
||||
"main" = {
|
||||
fingerprint = {
|
||||
"DP-0" = "00ffffffffffff00061036920000570213130104a5342078266ea1a7554c9d250e5054000000d1000101010101010101010101010101283c80a070b023403020360006442100001a000000ff00324139313934365a304b300a20000000fc004c45442043696e656d610a2020000000000000000000000000000000000000011a400102000000007e2401a500ffff031a1aa80100000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000057";
|
||||
"HDMI-0" = "00ffffffffffff0030ae0c0a010101011d160103802f1e78ee23c5a5574f9e260f5054bdcf00714f8180818c9500950fa9c0b300010126399030621a274068b03600da281100001c000000fd00324b1e5311000a202020202020000000fc004c54323235327020576964650a000000ff0036563841434637340a2020202000f8";
|
||||
};
|
||||
config = {
|
||||
"DP-0" = {
|
||||
enable = true;
|
||||
crtc = 0;
|
||||
primary = true;
|
||||
mode = "1920x1200";
|
||||
position = "0x0";
|
||||
rate = "59.95";
|
||||
extraConfig = # sh
|
||||
''
|
||||
x-prop-non_desktop 0
|
||||
'';
|
||||
};
|
||||
"HDMI-0" = {
|
||||
enable = true;
|
||||
crtc = 1;
|
||||
mode = "1680x1050";
|
||||
position = "1920x0";
|
||||
rate = "59.97";
|
||||
extraConfig = # sh
|
||||
''
|
||||
x-prop-non_desktop 0
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -7,6 +7,8 @@ let
|
|||
inherit (lib.marleyos) enabled;
|
||||
in
|
||||
{
|
||||
imports = [ ./autorandr.nix ];
|
||||
|
||||
home.keyboard.options = [ "apple:alupckeys" ];
|
||||
|
||||
# FIXME: Remove once we are on NixOS
|
||||
|
|
Loading…
Reference in a new issue