Compare commits

..

No commits in common. "83f548e95f80ba16b4caa40134e4765d66dd0e76" and "2b36140fbf45f73a31f85c37aafad4092e547555" have entirely different histories.

2 changed files with 8 additions and 11 deletions

View File

@ -37,16 +37,17 @@
# Set up screen position and rotation
setupCommands = ''
${pkgs.xorg.xrandr}/bin/xrandr --output DisplayPort-1 \
--primary \
--rotate normal \
--mode 2560x1440 \
--rate 165 \
--output DisplayPort-2 \
--right-of DisplayPort-1 \
--mode 1920x1200 \
--pos 2560x0 \
--rotate left \
--output DisplayPort-0 \
--primary \
--mode 2560x1440 \
--pos 0x560 \
--rotate normal \
--rate 120 \
--output DVI-0 --off \
--output DVI-1 --off \
|| echo "xrandr failed"
'';
};
};

View File

@ -8,10 +8,6 @@
config = lib.mkIf (config.physical && !config.server) {
# Use power button to sleep instead of poweroff
services.logind.powerKey = "suspend";
services.logind.powerKeyLongPress = "poweroff";
# Prevent wake from keyboard
powerManagement.powerDownCommands = ''
set +e