diff --git a/configuration.nix b/configuration.nix index 8c93633..9d049e8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -84,13 +84,14 @@ in LC_TELEPHONE = "en_GB.UTF-8"; LC_TIME = "en_GB.UTF-8"; }; - - # Enable the X11 windowing system. - services.xserver.enable = true; - - # Enable the GNOME Desktop Environment. - # services.xserver.displayManager.gdm.enable = true; - # services.xserver.desktopManager.gnome.enable = true; + services.xserver = { + enable = true; + desktopManager = { + xterm.enable = false; + xfce.enable = true; + }; + displayManager.defaultSession = "xfce"; + }; # Configure keymap in X11 services.xserver = { @@ -884,7 +885,6 @@ valign = bottom mpv killall zip - xfce ]; fonts.packages = with pkgs; [ diff --git a/nixos-switch.log b/nixos-switch.log index 23fce41..2914484 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -1,25 +1,8 @@ building Nix... building the system configuration... -error: - … while calling the 'head' builtin - - at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11: - - 1574| || pred here (elemAt values 1) (head values) then - 1575| head values - | ^ - 1576| else - - … while evaluating the attribute 'value' - - at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:809:9: - - 808| in warnDeprecation opt // - 809| { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value; - | ^ - 810| inherit (res.defsFinal') highestPrio; - - (stack trace truncated; use '--show-trace' to show the full trace) - - error: A definition for option `environment.systemPackages."[definition 1-entry 43]"' is not of type `package'. Definition values: - - In `/etc/nixos/configuration.nix' +trace: warning: The option `services.xserver.displayManager.defaultSession' defined in `/etc/nixos/configuration.nix' has been renamed to `services.displayManager.defaultSession'. +activating the configuration... +setting up /etc... +reloading user units for lightdm... +reloading user units for deadvey... +restarting sysinit-reactivation.target