Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System does not build with catppuccin nix, "tofi.settings" does not exist #154

Closed
Haskellered opened this issue Apr 29, 2024 · 6 comments · Fixed by #182
Closed

System does not build with catppuccin nix, "tofi.settings" does not exist #154

Haskellered opened this issue Apr 29, 2024 · 6 comments · Fixed by #182

Comments

@Haskellered
Copy link

Haskellered commented Apr 29, 2024

Nixos 23.11

       error: The option `home-manager.users.haskeller.programs.tofi.settings' does not exist. Definition values:
       - In `/nix/store/4x11z78x84bvvx740jx16d312bvz82pv-source/flake.nix':
           {
             _type = "if";
             condition = false;
             content = {
               background-color = "#24273a";
           ...
@Lichthagel
Copy link
Contributor

Lichthagel commented Apr 29, 2024

You are probably running an outdated version of home-manager. The tofi module was added 10 days ago: nix-community/home-manager@8ff7bb3.

Edit: Well, it only hit hm's master atm...

@getchoo
Copy link
Member

getchoo commented Apr 30, 2024

You are probably running an outdated version of home-manager

this is what's most likely. these modules are based on the master branch of hm, and we don't support the release branches just yet

sorry this isn't documented :(

@cgoetzke
Copy link

cgoetzke commented May 1, 2024

these modules are based on the master branch of hm, and we don't support the release branches just yet

Does HM master track nixpkgs-unstable? For those of us tracking the latest nixpkgs release (23.11 right now), what does this mean? Will this shake out when 24.05 drops?

@cgoetzke
Copy link

cgoetzke commented May 2, 2024

For what it's worth, my hacky workaround is to pin catppuccin-nix for the time being:

{
  inputs = {

    ...

    # Temporarily pin catppuccin, since they don't support tracking releases
    # currently, and newer commits break home-manager 23.11
    #catppuccin.url = "github:catppuccin/nix";
    catppuccin.url = "github:catppuccin/nix/a48e70a31616cb63e4794fd3465bff1835cc4246";
  
    ...

}

I'll probably try unpinning once I upgrade to 24.05.

Also, that catppuccin-nix commit was chosen somewhat randomly, but it does allow me to update / nixos-rebuild my system.

@harryfinbow
Copy link

For anyone who was getting this error while on unstable running nix flake update, which bumps home-manager to use the latest commit (which contains the new tofi module), fixed this for me.

@getchoo
Copy link
Member

getchoo commented May 21, 2024

this should be fixed as of aef5672. i would recommend all of those affected to run nix flake update

keeping this pinned for a bit in case anyone else comes across this

@getchoo getchoo unpinned this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants