Infini-FRAMEWORK: refactor autorandr configuration
This commit is contained in:
parent
b78e57cc5b
commit
a13b7a4472
1 changed files with 23 additions and 13 deletions
|
@ -67,22 +67,32 @@
|
||||||
uefiCapsuleSettings.DisableCapsuleUpdateOnDisk = "true";
|
uefiCapsuleSettings.DisableCapsuleUpdateOnDisk = "true";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.autorandr.profiles = {
|
services.autorandr.profiles =
|
||||||
main = {
|
let
|
||||||
fingerprint.eDP-1 = "00ffffffffffff0009e5ca0b000000002f200104a51c137803de50a3544c99260f505400000001010101010101010101010101010101115cd01881e02d50302036001dbe1000001aa749d01881e02d50302036001dbe1000001a000000fe00424f452043510a202020202020000000fe004e4531333546424d2d4e34310a0073";
|
eDP-1 = "00ffffffffffff0009e5ca0b000000002f200104a51c137803de50a3544c99260f505400000001010101010101010101010101010101115cd01881e02d50302036001dbe1000001aa749d01881e02d50302036001dbe1000001a000000fe00424f452043510a202020202020000000fe004e4531333546424d2d4e34310a0073";
|
||||||
config.eDP-1 = { crtc = 0; mode = "2256x1504"; position = "1080x416"; primary = true; rate = "60.00"; scale = { x = 0.80; y = 0.80; }; };
|
DP-4 = "00ffffffffffff0006b34116818202002b200104a52213783a28659759548e271e5054a10800b30095008180814081c0010101010101023a801871382d40582c450058c21000001e000000ff004e414c4d54463136343438310a000000fd00324b185311000a202020202020000000fc0041535553204d42313641430a20011802030a3165030c0010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003c";
|
||||||
};
|
scale = { x = 0.8; y = 0.8; };
|
||||||
portable-second = {
|
|
||||||
fingerprint = {
|
|
||||||
eDP-1 = "00ffffffffffff0009e5ca0b000000002f200104a51c137803de50a3544c99260f505400000001010101010101010101010101010101115cd01881e02d50302036001dbe1000001aa749d01881e02d50302036001dbe1000001a000000fe00424f452043510a202020202020000000fe004e4531333546424d2d4e34310a0073";
|
|
||||||
DP-4 = "00ffffffffffff0006b34116818202002b200104a52213783a28659759548e271e5054a10800b30095008180814081c0010101010101023a801871382d40582c450058c21000001e000000ff004e414c4d54463136343438310a000000fd00324b185311000a202020202020000000fc0041535553204d42313641430a20011802030a3165030c0010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003c";
|
|
||||||
};
|
|
||||||
config = {
|
config = {
|
||||||
eDP-1 = { crtc = 0; mode = "2256x1504"; position = "1080x416"; primary = true; rate = "60.00"; { scale = { x = 0.80; y = 0.80; }; };
|
eDP-1 = { crtc = 0; mode = "2256x1504"; position = "1080x416"; primary = true; rate = "60.00"; inherit scale; };
|
||||||
DP-4 = { crtc = 1; mode = "1920x1080"; position = "0x0"; rate = "60.00"; rotate = "left"; };
|
DP-4 = { crtc = 1; mode = "1920x1080"; position = "0x0"; rate = "60.00"; rotate = "left"; inherit scale; };
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
main = {
|
||||||
|
fingerprint = {
|
||||||
|
inherit eDP-1;
|
||||||
|
};
|
||||||
|
config = { inherit (config) eDP-1; };
|
||||||
|
};
|
||||||
|
portable-second = {
|
||||||
|
fingerprint = {
|
||||||
|
inherit eDP-1 DP-4;
|
||||||
|
};
|
||||||
|
config = {
|
||||||
|
inherit (config) eDP-1 DP-4;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz";
|
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue