mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 11:26:12 +01:00
@@ -8,7 +8,6 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./locale.nix
|
./locale.nix
|
||||||
./gui.nix
|
|
||||||
./packages.nix
|
./packages.nix
|
||||||
./services.nix
|
./services.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
# ./users.nix
|
# ./users.nix
|
||||||
../common
|
../common
|
||||||
|
./gui.nix
|
||||||
|
|
||||||
# Import your generated (nixos-generate-config) hardware configuration
|
# Import your generated (nixos-generate-config) hardware configuration
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
# ./users.nix
|
# ./users.nix
|
||||||
../common
|
../common
|
||||||
|
./gui.nix
|
||||||
|
|
||||||
# nvidia drivers
|
# nvidia drivers
|
||||||
./nvidia.nix
|
./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