dots and configs

This commit is contained in:
2024-04-19 20:19:38 +02:00
parent 96d2193856
commit d6f4bfa68b
8 changed files with 387 additions and 4 deletions

View File

@@ -7,7 +7,6 @@
...
}: {
imports = [
./gui.nix
./locale.nix
./packages.nix
./services.nix

View File

@@ -21,6 +21,7 @@
# You can also split up your configuration and import pieces of it here:
# ./users.nix
../common
./gui.nix
# Import your generated (nixos-generate-config) hardware configuration
./hardware-configuration.nix

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";
}
];
};
}