Soho vibes for Nix
Find a file
github-actions[bot] a48e70a316
chore: update lockfiles (#112)
* chore: update dev flake inputs

Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/b787726a8413e11b074cde42704b4af32d95545c' (2024-04-06)
  → 'github:nix-community/home-manager/33a20182e3164f451b6a4ac2ecadcab5c2c36703' (2024-04-23)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/ff0dbd94265ac470dda06a657d5fe49de93b4599' (2024-04-06)
  → 'github:NixOS/nixpkgs/6143fc5eeb9c4f00163267708e26191d1e918932' (2024-04-21)

* chore: update nvfetcher sources

bat: b19bea35a85a32294ac4732cad5b0dc6495bed32 → b8134f01b0ac176f1cf2a7043a5abf5a1a29457b
neovim: aebe43db9cb26e1c70fc5b2fd4158169c405e720 → a1439ad7c584efb3d0ce14ccb835967f030450fe
tmux: 5ed4e8a6a20c928688da268dfcdf460ac9c3cb49 → a556353d60833367b13739e660d4057a96f2f4fe
alacritty: 071d73effddac392d5b9b8cd5b4b527a6cf289f9 → 94800165c13998b600a9da9d29c330de9f28618e
gtk: edef76faba00f1f8bd8311fc487f0f0b2670dd0d → 9da440ced621d1bff58676efdcec9f64284c52a6

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-04-23 14:06:55 -04:00
.github ci: allow doc updates without PR (#140) 2024-04-22 14:28:51 -04:00
_sources chore: update lockfiles (#112) 2024-04-23 14:06:55 -04:00
assets/previews chore: add project previews (#35) 2023-06-25 20:16:54 -04:00
dev chore: update lockfiles (#112) 2024-04-23 14:06:55 -04:00
docs docs: update for ade2e73 2024-04-23 17:43:14 +00:00
modules feat(home-manager): add transparent option for k9s (#138) 2024-04-23 13:42:45 -04:00
.editorconfig feat: initial commit 2023-03-26 21:15:25 -04:00
.gitignore feat: initial commit 2023-03-26 21:15:25 -04:00
CONTRIBUTING.md docs: cleanup CONTRIBUTING.md 2024-01-11 17:03:38 -05:00
default.nix feat: limit use of IFD, add auto updates & vm testing (#40) 2023-11-02 13:55:47 -04:00
flake.nix feat: add subflake for development & testing (#64) 2023-12-16 23:38:36 +00:00
LICENSE feat: initial commit 2023-03-26 21:15:25 -04:00
nvfetcher.toml feat(home-manager): init mpv module (#95) 2024-04-18 21:55:19 +00:00
README.md docs: correct use of modules over imports 2023-12-16 18:45:45 -05:00
test.nix feat(home-manager): add support for zellij (#139) 2024-04-22 20:19:34 -04:00

Logo
Catppuccin for Nix

Previews

🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha

Usage

  1. Import the NixOS and home-manager modules
With Flakes
{
  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
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:

{
  imports = [
    <home-manager/nixos>
    <catppuccin/modules/nixos>
  ];

  home-manager.users.user = {
    imports = [
      <catppuccin/modules/home-manager>
    ];
  };
}

For standalone installations

{
  imports = [
    <catppuccin/modules/home-manager>
  ];

  home.username = "user";
  home.homeDirectory = "user";
  programs.home-manager.enable = true;
}
  1. Choose your desired flavour with catppuccin.flavour
{
  catppuccin.flavour = "mocha";
}
  1. Enable for supported programs with catppucin.enable = true;
{
  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, and NixOS modules here

💝 Thanks to

 

Copyright © 2023-present Catppuccin Org