this is a project i’ve been working on for a few months now with some amazing people, and it has now been picked up by the official catppuccin org!
using nixos and home-manager modules, the goal here is to eventually allow each catppuccin port (and there are many) to be easily enabled and configured. so far, we have added support for two dozen ports with more on the way. i hope you all enjoy
Perhaps but why would we want to duplicate the effort made by other contributors, thats why we use nvfetcher to get the latest version of said themes and load them into modules are the appropriate locations.
❯ nix build .#nixosConfigurations.light.config.formats.vm -L --impure
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:9:12: (source not available)
… while evaluating derivation 'nixos-vm'
whose name attribute is located at /nix/store/qjgi80svyhfcwbnlvzzaqg0nyr7h2w59-source/pkgs/stdenv/generic/make-derivation.nix:331:7
… while evaluating attribute 'buildCommand' of derivation 'nixos-vm'
at /nix/store/qjgi80svyhfcwbnlvzzaqg0nyr7h2w59-source/pkgs/build-support/trivial-builders/default.nix:68:16:
67| enableParallelBuilding = true;
68| inherit buildCommand name;
| ^
69| passAsFile = [ "buildCommand" ]
(stack trace truncated; use '--show-trace' to show the full trace)
error: The option `home-manager.users.admin.programs.fish.catpuccin' does not exist. Definition values:
- In `/nix/store/4w0hgfghvlvwx7bzaqh215jkgwbfkscw-source/profiles/light/shell.nix':
{
enable = true;
}
It would be really cool if the home-manager module could also have qt support via kvantum or something similar. It’s a bit jarring to have all my apps using catppuccin and then I open a qt app and it’s blinding white. I’m trying to do it on my own, but it doesn’t seem to be working. I have this as one of my home-manager modules:
This gives me both kvantummanager and kvantumpreview on my $PATH, and while kvantum comes with a large number of themes by default, my overrides don’t seem to be adding the catpuccin themes in the way they should.
There’s probably a way I can cut out the middle step of using the derivation from nixpkgs and just downloading the required themes straight from github, but I’m not sure.
The part at the end, which is currently commented out, is supposed to set the default kvantum theme to my desired catpuccin theme, but that’s not going to work if I can’t even find the theme via kvantummanager.
I can’t actually find it there. I have home-manager managed through the NixOS module, so all the generated files go in /etc/profiles/per-user/avi/share/ But the only folders starting with K in there are kservices5/, kservicetypes5/, and kxmlgui5/. And yes, I have rebooted after making these changes.