mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 07:06:12 +01:00
@@ -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
51
hosts/zion/gui.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user