porcorosso: use autorandr
This commit is contained in:
parent
9963881721
commit
e95ae8b3cb
1 changed files with 30 additions and 0 deletions
|
@ -189,6 +189,36 @@ in {
|
|||
extraGroups = [ "wheel" "networkmanager" "libvirtd" "lxd" "video" ];
|
||||
};
|
||||
my.home-manager.system = {...}: {
|
||||
xsession.windowManager.i3.config.startup = lib.mkAfter [
|
||||
{ command = "${pkgs.autorandr}/bin/autorandr -c"; notification = false; }
|
||||
];
|
||||
programs.autorandr = {
|
||||
enable = true;
|
||||
profiles.standard = {
|
||||
config = {
|
||||
"DP-0.2" = {
|
||||
enable = true;
|
||||
mode = "3840x2160";
|
||||
primary = true;
|
||||
position = "0x0";
|
||||
rate = "60.00";
|
||||
crtc = 0;
|
||||
};
|
||||
"DP-0.1" = {
|
||||
enable = true;
|
||||
mode = "3840x2160";
|
||||
position = "3840x0";
|
||||
rate = "60.00";
|
||||
crtc = 1;
|
||||
};
|
||||
};
|
||||
fingerprint = {
|
||||
"DP-0.2" = "00ffffffffffff0005e36828e70100001b180104a53e22783aeed1a555489b26125054bfef00d1c0b30095008180814081c001010101e5ca0038f0703e8018108a006d552100001a04740030f2705a80b0588a006d552100001a000000fd0017501ea03c010a202020202020000000fc0055323836380a20202020202020014d020326f14b0103051404131f1202119023090707830100006d030c00100000782000600102038c0ad08a20e02d10103e96006d5521000018011d007251d01e206e2855006d552100001e8c0ad08a20e02d10103e96006d55210000188c0ad090204031200c4055006d5521000018000000000000000000000000000000000013";
|
||||
"DP-0.1" = "00ffffffffffff0005e368283302000016180104a53e22783aeed1a555489b26125054bfef00d1c0b30095008180814081c001010101e5ca0038f0703e8018108a006d552100001a04740030f2705a80b0588a006d552100001a000000fd0017501ea03c010a202020202020000000fc0055323836380a202020202020200105020326f14b0103051404131f1202119023090707830100006d030c00100000782000600102038c0ad08a20e02d10103e96006d5521000018011d007251d01e206e2855006d552100001e8c0ad08a20e02d10103e96006d55210000188c0ad090204031200c4055006d5521000018000000000000000000000000000000000013";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = lib.mkAfter (with pkgs; [
|
||||
(steam.override { extraProfile = nvidia-offload-profile; })
|
||||
(writeScriptBin "javaws" ''
|
||||
|
|
Loading…
Reference in a new issue