chore: Move legacy options out of services.xserver

At some point these options were changed to be descendants of
`services` instead.
This commit is contained in:
Donovan Glover 2024-06-03 13:09:58 -04:00
parent 5e5d7c0468
commit 06b14b11eb
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 16 additions and 17 deletions

View File

@ -4,23 +4,20 @@ let
inherit (config.modules.system) username;
in
{
services.xserver = {
enable = true;
services = {
xserver = {
enable = true;
desktopManager = {
gnome.enable = true;
desktopManager.gnome.enable = true;
displayManager.gdm.enable = true;
excludePackages = [ pkgs.xterm ];
};
displayManager = {
gdm.enable = true;
autoLogin = {
enable = true;
user = username;
};
displayManager.autoLogin = {
enable = true;
user = username;
};
excludePackages = [ pkgs.xterm ];
};
systemd.services = {

View File

@ -2,10 +2,14 @@
let
inherit (config.modules.system) username;
inherit (pkgs) xterm;
in
{
services.xserver = {
enable = true;
services = {
xserver = {
enable = true;
excludePackages = [ xterm ];
};
displayManager = {
sddm.enable = true;
@ -15,8 +19,6 @@ in
user = username;
};
};
excludePackages = [ pkgs.xterm ];
};
services.desktopManager.plasma6.enable = true;