Skip to content

Latest commit

 

History

History
120 lines (97 loc) · 4.05 KB

README.md

File metadata and controls

120 lines (97 loc) · 4.05 KB

Logo
Catppuccin Toolbox

 

Catppuccin's development tools

A set of software tools by Catppuccin developers, for Catppuccin developers.

 

Nix

With Flakes

Add the following to your flake.nix:

NixOS

{
    inputs = {
        catppuccin-catwalk.url = "github:catppuccin/catwalk";
        catppuccin-whiskers.url = "github:catppuccin/whiskers";
    };
    outputs = {nixpkgs, catppuccin-whiskers, catppuccin-catwalk, ...}: {
        nixosConfigurations.HOSTNAME = nixpkgs.lib.nixosSystem {
          modules = [
          {
              environment.systemPackages = [
                catppuccin-catwalk.packages.${pkgs.system}.default
                catppuccin-whiskers.packages.${pkgs.system}.default
              ];
            }
          ];
        };
      };
    }
}

Home Manager

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";

    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    catppuccin-catwalk.url = "github:catppuccin/catwalk";
    catppuccin-whiskers.url = "github:catppuccin/whiskers";
  };

  outputs = {nixpkgs, home-manager, catppuccin-whiskers, catppuccin-catwalk ...}: {
    homeConfigurations."user@hostname" = home-manager.lib.homeManagerConfiguration {
      pkgs = nixpkgs.legacyPackages.x86_64-linux;

      modules = [
        {
            home.packages = [
                catppuccin-catwalk.packages.${pkgs.system}.default
                catppuccin-whiskers.packages.${pkgs.system}.default
            ];
        }
      ];
    };
  };
}

Without Flakes

Add the following to your configuration:

{config, pkgs, ...}: let
  flake-compat = builtins.fetchTarball "https://github.com/edolstra/flake-compat/archive/master.tar.gz";
  catppuccin-catwalk = (import flake-compat {
    src = builtins.fetchTarball "https://github.com/catppuccin/catwalk/archive/main.tar.gz";
  }).defaultNix;
  catppuccin-whiskers = (import flake-compat {
    src = builtins.fetchTarball "https://github.com/catppuccin/whiskers/archive/main.tar.gz";
  }).defaultNix;
in {
    # Home Manager
    home.packages = [
        catppuccin-catwalk.packages.${pkgs.system}.default
        catppuccin-whiskers.packages.${pkgs.system}.default
    ];

    # Nix
    environment.systemPackages = [
        catppuccin-catwalk.packages.${pkgs.system}.default
        catppuccin-whiskers.packages.${pkgs.system}.default
    ];
}

 

Copyright © 2021-present Catppuccin Org