feat: configure p330 specialization

main
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"; networking.hostName = "apache";
boot.loader.grub.enableCryptodisk = true; boot.loader.grub.enableCryptodisk = true;
# services.xserver.videoDrivers = [ "intel" "nvidia" ];
} }

View File

@ -6,31 +6,4 @@
boot.loader.grub.enableCryptodisk = true; boot.loader.grub.enableCryptodisk = true;
boot.supportedFilesystems = [ "zfs" ]; 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, ... }: { config, lib, pkgs, user, ... }:
{ {
xsession.windowManager.i3.config = { wayland.windowManager.sway.config = {
workspaceOutputAssign = [ output = {
{ workspace = "1"; output = "DP3"; } DP-2 = {
{ workspace = "2"; output = "DP2"; } scale = "1.5";
{ workspace = "3"; output = "DP3"; } position = "0 526";
{ workspace = "4"; output = "DP2"; } # position = "0 790";
{ workspace = "5"; output = "DP3"; } };
{ workspace = "6"; output = "DP2"; } DP-3 = {
{ workspace = "7"; output = "DP3"; } scale = "1.5";
{ workspace = "8"; output = "DP2"; } position = "2560 0";
{ workspace = "9"; output = "DP3"; } # position = "3840 0";
{ workspace = "10"; output = "DP2"; } transform = "90";
]; };
}; };
programs.kitty.font.size = 16; workspaceOutputAssign = [
programs.rofi.font = lib.mkForce "DejaVu Sans Mono 16"; { 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"; }
];
services.betterlockscreen.inactiveInterval = 20; };
} }