1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

fixed autorandr

This commit is contained in:
Stefan Ellmauthaler 2021-10-16 15:45:17 +02:00
parent 5d65ceb2bd
commit 11eb9404b9
4 changed files with 18 additions and 4 deletions

View File

@ -61,9 +61,7 @@
autorandr autorandr
]; ];
extraSessionCommands = '' extraSessionCommands = ''
if [ $(hostname) = 'stel-xps' ]; then ${pkgs.autorandr}/bin/autorandr -c
${pkgs.autorandr}/bin/autorandr -c
fi
''; '';
}; };

View File

@ -54,6 +54,21 @@
position = "0x0"; position = "0x0";
}; };
}; };
};
"home-nuc" = {
fingerprint = {
DP-2 = "00ffffffffffff0009d1507945540000221e0104b54627783f5995af4f42af260f5054a56b80d1c0b300a9c08180810081c0010101014dd000a0f0703e8030203500ba892100001a000000ff004e384c30323634373031390a20000000fd00283c87873c010a202020202020000000fc0042656e5120455733323730550a01bc02033af1515d5e5f6061101f222120051404131203012309070783010000e200c06d030c0020003878200060010203e305e001e6060501544c2ca36600a0f0701f8030203500ba892100001a565e00a0a0a029502f203500ba892100001abf650050a0402e6008200808ba892100001c000000000000000000000000000000bf";
};
config = {
DP-2 = {
enable = true;
crtc = 1;
primary = true;
position = "0x0";
mode = "3840x2160";
dpi = 96;
};
};
}; };
}; };
hooks.postswitch = { hooks.postswitch = {

View File

@ -1 +1 @@
stel-xps/ nucturne/

View File

@ -9,3 +9,4 @@ cp -r machine/stel-xps /etc/nixos/machine/.
cp -r machine/nucturne /etc/nixos/machine/. cp -r machine/nucturne /etc/nixos/machine/.
cp -r ./home/config/* /home/ellmau/.config/. cp -r ./home/config/* /home/ellmau/.config/.
chown -R ellmau:users /home/ellmau/.config/.