diff --git a/profiles/environment/graphical-environment.nix b/profiles/environment/graphical-environment.nix index 02c2022..3ec4312 100644 --- a/profiles/environment/graphical-environment.nix +++ b/profiles/environment/graphical-environment.nix @@ -36,12 +36,6 @@ packages: {config, ...}: { enable = true; layout = "us"; xkbOptions = "eurosign:e, caps:backspace"; - - displayManager = { - lightdm = { - enable = true; - }; - }; }; # We need accounts-daemon for lightdm to work correctly. diff --git a/profiles/environment/xfce4.nix b/profiles/environment/xfce4.nix index ad15fb7..7bb57b6 100644 --- a/profiles/environment/xfce4.nix +++ b/profiles/environment/xfce4.nix @@ -32,12 +32,18 @@ packages: {config, ...}: { ]; services = { - xserver.desktopManager.xfce = { - enable = true; - thunarPlugins = with packages; [ - nixpkgs.xfce.thunar-archive-plugin - nixpkgs.xfce.thunar_volman - ]; + xserver = { + desktopManager.xfce = { + enable = true; + thunarPlugins = with packages; [ + nixpkgs.xfce.thunar-archive-plugin + nixpkgs.xfce.thunar_volman + ]; + }; + + displayManager.lightdm = { + enable = true; + }; }; udisks2 = {