hi i want to setup theme for sddm in nixos somethig is wrong with my config input "services.displayManager = {
#lightdm.enable = true;
sddm.enable = true;
sddm.settings = {
Theme = {
Name = "catppuccin";
};
};
#gdm.enable = true;
code
};
"
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Hi! You're on the right track with setting up SDDM and a theme in NixOS. It looks like you're trying to set the catppuccin theme for SDDM, but your configuration has a small issue in how the settings are structured.
This is not quite correct, because SDDM's configuration doesn't expect nested sections like that directly under settings. Instead, it should mirror the structure of the actual SDDM config file (/etc/sddm.conf.d/*.conf) using key-value pairs.
✅ Correct Way:
You need to use the [Theme] section inside sddm.extraConfig, or sometimes through sddm.theme.
Here’s how to do it properly:
Option 1: Using sddm.theme
If the catppuccin theme is available in the Nixpkgs collection (or installed manually), this is the cleanest method:
Make sure the theme is actually installed in /usr/share/sddm/themes/catppuccin/ or similar.
🔁 Also Check:
Make sure the Catppuccin theme is actually available on your system. If it's not part of the official packages, you might need to install it manually or via a NUR/nix-community overlay.
Example using a third-party theme (like from GitHub):