Attempt to fix duplicate xserver

This commit is contained in:
Jimbo 2024-08-27 14:28:54 -04:00
parent 1c5651bb83
commit 15e040c6d0

View file

@ -37,7 +37,20 @@ in
i18n.defaultLocale = "en_CA.UTF-8"; i18n.defaultLocale = "en_CA.UTF-8";
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver = {
enable = true;
videoDrivers = [ "radeon" ];
xkb = {
layout = "us";
variant = "";
};
# Enable the LXQT Desktop Environment.
displayManager = {
lightdm.enable = true;
lxqt.enable = true;
};
};
# Printer Stuff (FUCK HP!) # Printer Stuff (FUCK HP!)
services = { services = {
@ -53,16 +66,6 @@ in
}; };
}; };
# Enable the LXQT Desktop Environment.
services.xserver.displayManager.lightdm.enable = true;
services.xserver.desktopManager.lxqt.enable = true;
# Configure keymap in X11
services.xserver = {
xkb.layout = "us";
xkb.variant = "";
};
# Enable sound with pipewire. # Enable sound with pipewire.
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;
@ -94,12 +97,9 @@ in
# services.openwebrx.enable = true; # services.openwebrx.enable = true;
# Enable automatic login for the user. # Enable automatic login for the user.
services = { services.displayManager.autoLogin = {
xserver.videoDrivers = [ "radeon" ]; enable = true;
displayManager.autoLogin = { user = "freecorn";
enable = true;
user = "freecorn";
};
}; };
# NGINX :3 # NGINX :3