mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
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:
parent
5e5d7c0468
commit
06b14b11eb
@ -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 = {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user