This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-config/machines/p330/configuration.nix

34 lines
663 B
Nix

{ 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"
'';
};
}