integra settings de autorandr
This commit is contained in:
parent
d00d673425
commit
0824f91b7e
|
@ -4,5 +4,5 @@ with lib;
|
|||
programs.autorandr = {
|
||||
enable = true;
|
||||
profiles."${config.local.platform}" = config.local.display.autorandrProfile;
|
||||
}
|
||||
};
|
||||
}
|
|
@ -3,6 +3,7 @@ with lib;
|
|||
{
|
||||
|
||||
imports = [
|
||||
./autorandr.nix
|
||||
./desktop
|
||||
./i3.nix
|
||||
./polybar.nix
|
||||
|
|
|
@ -15,14 +15,14 @@ with lib;
|
|||
type = nullOr str;
|
||||
};
|
||||
|
||||
autorandrProfile = {
|
||||
autorandrProfile = mkOption {
|
||||
type = attrs;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
nixos = mkOption {
|
||||
type = bool;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
config.local = {
|
||||
nixos = true;
|
||||
|
||||
display = {
|
||||
"0" = "DisplayPort-0";
|
||||
"1" = "DisplayPort-1";
|
||||
|
||||
|
||||
autorandrProfile = {
|
||||
fingerprint = {
|
||||
DisplayPort-0 = "00ffffffffffff003669a03bd4040000231e0104a5341d783bd005ac5048a627125054bfcf00814081809500714f81c0b30001010101023a801871382d40582c450009252100001e0882805070384d400820f80c09252100001a000000fd003090b4b422010a202020202020000000fc004d53492047323443340a20202001a2020320f14d010304131f120211900e0f1d1e230907078301000065030c001000866f80a0703840403020350009252100001a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e9";
|
||||
|
@ -31,7 +32,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
nixos = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,8 +1,25 @@
|
|||
{
|
||||
config.local.display = {
|
||||
"0" = "eDP-1";
|
||||
"1" = null;
|
||||
};
|
||||
config.local = {
|
||||
nixos = false;
|
||||
|
||||
config.local.nixos = false;
|
||||
display = {
|
||||
"0" = "eDP-1";
|
||||
"1" = null;
|
||||
|
||||
autorandrProfile = {
|
||||
fingerprint = {
|
||||
eDP-1 = "00ffffffffffff000dae0a1400000000291d0104a51f11780328659759548e271e505400000001010101010101010101010101010101363680a0703820403020a60035ad10000018000000fe004e3134304843412d4541450a20000000fe00434d4e0a202020202020202020000000fe004e3134304843412d4541450a200002";
|
||||
};
|
||||
config = {
|
||||
eDP-1 = {
|
||||
enable = true;
|
||||
primary = true;
|
||||
mode = "1920x1080";
|
||||
rate = "60.0";
|
||||
rotate = "normal";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue