Logo
Catppuccin for Nix

## Previews
๐ŸŒป Latte
๐Ÿชด Frappรฉ
๐ŸŒบ Macchiato
๐ŸŒฟ Mocha
## Usage 1. Import the [NixOS](https://nixos.org) and [home-manager](https://github.com/nix-community/home-manager) modules
With Flakes ```nix { inputs = { nixpkgs.url = "nixpkgs/nixos-22.11"; catppuccin.url = "github:catppuccin/nix"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { nixpkgs, catppuccin, home-manager }: let system = "x86_64-linux"; pkgs = import nixpkgs {inherit system;}; in { # for nixos module home-manager installations nixosConfigurations.host = pkgs.lib.nixosSystem { inherit system; modules = [ catppuccin.nixosModules.catppuccin home-manager.nixosModules.home-manager { home-manager.users.user = { imports = [ ./home.nix catppuccin.homeManagerModules.catppuccin ]; }; } ]; }; # for standalone home-manager installations homeConfigurations.user = home-manager.lib.homeManagerConfiguration { inherit pkgs; modules = [ catppuccin.homeManagerModules.catppuccin ]; }; }; } ```
With Nix Channels ```bash sudo nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager sudo nix-channel --add https://github.com/catppuccin/nix/archive/main.tar.gz catppuccin sudo nix-channel --update ``` For [NixOS module installations](https://nix-community.github.io/home-manager/index.html#sec-install-nixos-module): ```nix { imports = [ ]; home-manager.users.user = { imports = [ ]; }; } ``` For [standalone installations](https://nix-community.github.io/home-manager/index.html#sec-install-standalone) ```nix { imports = [ ]; home.username = "user"; home.homeDirectory = "user"; programs.home-manager.enable = true; } ```
2. Choose your desired flavour with `catppuccin.flavour` ```nix { catppuccin.flavour = "mocha"; } ``` 3. Enable for supported programs with `catppucin.enable = true;` ```nix { programs.starship = { enable = true; catppuccin.enable = true; }; } ``` ## ๐Ÿ™‹ FAQ - Q: **"How do I know what programs are supported?"**\ A: You can find programs supported through home-manager [here](https://github.com/catppuccin/nix/tree/main/modules/home-manager), and NixOS modules [here](https://github.com/catppuccin/nix/tree/main/modules/nixos) - Q: **"What versions of NixOS and home-manager are supported?"**\ A: We primarily support the `unstable` branch, but try our best to support the current stable release. You can check if your stable release is currently supported at [status.nixos.org](https://status.nixos.org/) ## ๐Ÿ’ Thanks to - [Stonks3141](https://github.com/Stonks3141) - [getchoo](https://github.com/getchoo)  

Copyright © 2023-present Catppuccin Org