From e8968606ea480a82a16de71b150f8aca516df559 Mon Sep 17 00:00:00 2001 From: deadvey Date: Mon, 19 Aug 2024 11:20:02 +0100 Subject: [PATCH] 469 current 2024-08-19 11:12:57 24.05.3642.883180e6550c 6.6.44 * --- configuration.nix | 4 +-- nixos-switch.log | 87 +++++++++-------------------------------------- 2 files changed, 18 insertions(+), 73 deletions(-) diff --git a/configuration.nix b/configuration.nix index 5c4877c..592cad4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -91,14 +91,14 @@ in LC_TELEPHONE = "en_GB.UTF-8"; LC_TIME = "en_GB.UTF-8"; }; - services = { + services.xserver = { enable = true; desktopManager = { xterm.enable = false; xfce.enable = true; }; - displayManager.defaultSession = "xfce"; }; + services.displayManager.defaultSession = "xfce"; # Configure keymap in X11 services.xserver = { diff --git a/nixos-switch.log b/nixos-switch.log index a9b24f5..f3876aa 100644 --- a/nixos-switch.log +++ b/nixos-switch.log @@ -1,80 +1,25 @@ -error: - … while evaluating the attribute 'config' - - at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9: - - 321| options = checked options; - 322| config = checked (removeAttrs config [ "_module" ]); - | ^ - 323| _module = checked (config._module); - - … while calling the 'seq' builtin - - at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18: - - 321| options = checked options; - 322| config = checked (removeAttrs config [ "_module" ]); - | ^ - 323| _module = checked (config._module); - - (stack trace truncated; use '--show-trace' to show the full trace) - - error: The option `services.desktopManager.xfce' does not exist. Definition values: - - In `/etc/nixos/configuration.nix': - { - enable = true; - } building Nix... -error: - … while evaluating the attribute 'config' - - at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9: - - 321| options = checked options; - 322| config = checked (removeAttrs config [ "_module" ]); - | ^ - 323| _module = checked (config._module); - - … while calling the 'seq' builtin - - at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18: - - 321| options = checked options; - 322| config = checked (removeAttrs config [ "_module" ]); - | ^ - 323| _module = checked (config._module); - - (stack trace truncated; use '--show-trace' to show the full trace) - - error: The option `services.desktopManager.xfce' does not exist. Definition values: - - In `/etc/nixos/configuration.nix': - { - enable = true; - } building the system configuration... error: - … while evaluating the attribute 'config.system.build.toplevel' + … while calling the 'head' builtin - at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:9: + at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11: - 321| options = checked options; - 322| config = checked (removeAttrs config [ "_module" ]); + 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; | ^ - 323| _module = checked (config._module); - - … while calling the 'seq' builtin - - at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:322:18: - - 321| options = checked options; - 322| config = checked (removeAttrs config [ "_module" ]); - | ^ - 323| _module = checked (config._module); + 810| inherit (res.defsFinal') highestPrio; (stack trace truncated; use '--show-trace' to show the full trace) - error: The option `services.desktopManager.xfce' does not exist. Definition values: - - In `/etc/nixos/configuration.nix': - { - enable = true; - } + error: A definition for option `home-manager.users.deadvey.home.stateVersion' is not of type `one of "18.09", "19.03", "19.09", "20.03", "20.09", "21.03", "21.05", "21.11", "22.05", "22.11", "23.05", "23.11", "24.05"'. Definition values: + - In `/etc/nixos/configuration.nix': "unstable"