catppuccin / nix

❄️ Soothing pastel theme for Nix
https://nix.catppuccin.com/
MIT License
304 stars 47 forks source link

The option `qt.style' does not support nested options #202

Closed Krymancer closed 1 month ago

Krymancer commented 1 month ago

I'm trying to use this but I'm getting this error:

error: The option `qt.style' in module `/nix/store/b2xy0gk6sd3fc8zamarfzach5f3wpkvi-source/nixos/modules/config/qt.nix' would be a parent of the following options, but its type `null or one of "adwaita", "adwaita-dark", "adwaita-highcontrast", "adwaita-highcontrastinverse", "bb10bright", "bb10dark", "breeze", "cde", "cleanlooks", "gtk2", "kvantum", "motif", "plastique"' does not support nested options.
        - option(s) with prefix `qt.style.catppuccin' in module `/nix/store/wqmfkfd7kcsa935ky2vf94x5cjz3r2vq-source/modules/home-manager/kvantum.nix'
jerbaroo commented 1 month ago

I am getting this error, is there a fix ?

jerbaroo commented 1 month ago
       error: The option `qt.style' in module `/nix/store/i1aw9jjgxcvyd642s12kw3iasmarwd42-source/nixos/modules/config/qt.nix' would be a parent of the following options, but its type `null or one of "adwaita", "adwaita-dark", "adwaita-highcontrast", "adwaita-highcontrastinverse", "bb10bright", "bb10dark", "breeze", "cde", "cleanlooks", "gtk2", "kvantum", "motif", "plastique"' does not support nested options.
        - option(s) with prefix `qt.style.catppuccin' in module `/nix/store/avs30alx1rsi62mla5akwplhzlz3lv78-source/modules/home-manager/kvantum.nix'
Krymancer commented 1 month ago

I am getting this error, is there a fix ?

I got this because I wasn't importing my home manager.

In my current configuration I setup a user in users.nix and import the nix file from users.nix, not from flake directly.

If you want you can see my flake config just be aware that I have no idea what I am doing

cootshk commented 1 week ago

I'm having the same problem - @jerbaroo did you get a fix?

importing home manager doesnt help

I also asked for help in this thread in the catppuccin discord

jerbaroo commented 1 week ago

It was something to do with how my imports/modules were structured if i recall correctly. Here are my dotfiles if it helps in any way: https://github.com/jerbaroo/nixos/blob/main/flake.nix