Revert "gui rollback"

This reverts commit 79f54abec2.
This commit is contained in:
2024-04-19 20:43:06 +02:00
parent 79f54abec2
commit 809641310d
5 changed files with 53 additions and 1 deletions

View File

@@ -21,6 +21,7 @@
# You can also split up your configuration and import pieces of it here:
# ./users.nix
../common
./gui.nix
# nvidia drivers
./nvidia.nix

51
hosts/zion/gui.nix Normal file
View File

@@ -0,0 +1,51 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
# X Server settings
services.xserver = {
enable = true;
layout = "pl";
xkbVariant = "";
displayManager = {
lightdm = {
enable = false;
};
startx = {
enable = true;
};
};
windowManager = {
dwm = {
enable = true;
};
};
desktopManager = {
xfce = {
enable = false;
};
};
xrandrHeads = [
{
output = "HDMI-0";
}
{
output = "DP-2";
primary = true;
rate = "74.92";
}
{
output = "DP-0";
rate = "74.92";
}
];
};
}