Hello! I have just stumbled upon a very weird issue where services.desktopManager
and services.displayManager
don’t seem to exist anymore. The issue started (as far as I am aware) when I tried to update the nix channels from 24.05 to 24.11. I rebuilt the system and got these errors. I don’t think I changed anything in the config file to cause this and I even tried to rollback to an earlier version of the file, I rebuilt it again and got the same issue even on an older known to be working (I think) file. I also tried going back to 24.05 and it was of no help. Any advice would be appreciated.
This is the error I get:
error:
… while evaluating the attribute 'config.system.build.toplevel'
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:320:9:
319| options = checked options;
320| config = checked (removeAttrs config [ "_module" ]);
| ^
321| _module = checked (config._module);
… while calling the 'seq' builtin
at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:320:18:
319| options = checked options;
320| config = checked (removeAttrs config [ "_module" ]);
| ^
321| _module = checked (config._module);
(stack trace truncated; use '--show-trace' to show the full trace)
error: The option `services.desktopManager' does not exist. Definition values:
- In `/etc/nixos/configuration.nix':
{
plasma6 = {
enable = true;
};
}
Thanks in advance!
EDIT: Turns out I accidentally switched to the 23.11 channel instead of 24.11, after I did that the issue was resolved.