made x11 conditional

This commit is contained in:
CDaut 2024-04-24 12:00:37 +02:00
parent 37eac1b4bb
commit ada74f1c4e
Signed by: clara
GPG key ID: 223391B52FAD4463
4 changed files with 56 additions and 32 deletions

26
programm_configs/x11.nix Normal file
View file

@ -0,0 +1,26 @@
{ config, pkgs, ... }:
{
services.xserver = {
xkb.layout = "de";
xkb.variant = "";
enable = true;
dpi = 120;
displayManager = {
setupCommands = ''
${pkgs.xorg.xrandr}/bin/xrandr --output eDP-1 --mode 3840x2160;
'';
};
windowManager.i3 = {
enable = true;
package = pkgs.i3-gaps;
extraPackages = with pkgs; [
dmenu
i3lock
];
};
desktopManager.wallpaper.mode = "fill";
};
}