feat: configure p330 specialization

This commit is contained in:
mandlm 2023-09-25 14:17:55 +02:00
parent 051550f773
commit c4a82dfb80
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
3 changed files with 26 additions and 44 deletions

View File

@ -3,6 +3,5 @@
{
networking.hostName = "apache";
boot.loader.grub.enableCryptodisk = true;
# services.xserver.videoDrivers = [ "intel" "nvidia" ];
}

View File

@ -6,31 +6,4 @@
boot.loader.grub.enableCryptodisk = true;
boot.supportedFilesystems = [ "zfs" ];
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"
'';
};
}

View File

@ -1,23 +1,33 @@
{ config, lib, pkgs, user, ... }:
{
xsession.windowManager.i3.config = {
wayland.windowManager.sway.config = {
output = {
DP-2 = {
scale = "1.5";
position = "0 526";
# position = "0 790";
};
DP-3 = {
scale = "1.5";
position = "2560 0";
# position = "3840 0";
transform = "90";
};
};
workspaceOutputAssign = [
{ workspace = "1"; output = "DP3"; }
{ workspace = "2"; output = "DP2"; }
{ workspace = "3"; output = "DP3"; }
{ workspace = "4"; output = "DP2"; }
{ workspace = "5"; output = "DP3"; }
{ workspace = "6"; output = "DP2"; }
{ workspace = "7"; output = "DP3"; }
{ workspace = "8"; output = "DP2"; }
{ workspace = "9"; output = "DP3"; }
{ workspace = "10"; output = "DP2"; }
{ workspace = "0"; output = "DP-2"; }
{ workspace = "1"; output = "DP-3"; }
{ workspace = "2"; output = "DP-2"; }
{ workspace = "3"; output = "DP-3"; }
{ workspace = "4"; output = "DP-2"; }
{ workspace = "5"; output = "DP-3"; }
{ workspace = "6"; output = "DP-2"; }
{ workspace = "7"; output = "DP-3"; }
{ workspace = "8"; output = "DP-2"; }
{ workspace = "9"; output = "DP-3"; }
];
};
programs.kitty.font.size = 16;
programs.rofi.font = lib.mkForce "DejaVu Sans Mono 16";
services.betterlockscreen.inactiveInterval = 20;
}