nixos-config/machines/p330/configuration.nix

34 lines
663 B
Nix
Raw Normal View History

2022-07-07 13:33:38 +00:00
{ config, pkgs, ... }:
{
networking.hostName = "p330";
boot.loader.grub.enableCryptodisk = true;
services.xserver = {
videoDrivers = [ "intel" ];
dpi = 144;
xrandrHeads = [
{
output = "DP2";
primary = true;
monitorConfig = ''
Option "Position" "0 790"
'';
}
{
output = "DP3";
monitorConfig = ''
Option "Position" "3840 0"
Option "Rotate" "right"
'';
}
];
serverFlagsSection = ''
Option "BlankTime" "19"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "20"
'';
2022-07-07 13:33:38 +00:00
};
}