Stable Nix
When using stable Nix, we have a couple options for installing catppuccin/nix
:
With npins
Section titled “With npins”npins
provides a way to easily “pin” and update external dependencies for your configurations.
Assuming you have followed their getting started guide, you can run the following:
npins add --name catppuccin github catppuccin nix
npins add --name catppuccin --branch release-25.05 github catppuccin nix
And in your system configuration:
let sources = import ./npins;in{ imports = [ (sources.catppuccin + "/modules/nixos") ];
# if you use home-manager home-manager.users.pepperjack = { imports = [ (sources.catppuccin + "/modules/home-manager") ]; };}
or if you use a standalone installation of home-manager
let sources = import ./npins.nix;in{ imports = [ (sources.catppuccin + "/modules/home-manager") ];
home.username = "pepperjack"; programs.home-manager.enable = true;}
With channels
Section titled “With channels”Nix channels provide a way for you to easily download, update, and use our modules — though at the cost of reproducible across machines.
To add catppuccin/nix
as a channel, you can run the following:
sudo nix-channel --add https://github.com/catppuccin/nix/archive/main.tar.gz catppuccinsudo nix-channel --update
sudo nix-channel --add https://github.com/catppuccin/nix/archive/release-25.05.tar.gz catppuccinsudo nix-channel --update
And in your system configuration:
{ imports = [ <catppuccin/modules/nixos> ];
# if you use home-manager home-manager.users.pepperjack = { imports = [ <catppuccin/modules/home-manager> ]; };}
or if you use a standalone installation of home-manager
{ imports = [ <catppuccin/modules/home-manager> ];
home.username = "pepperjack"; programs.home-manager.enable = true;}