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

Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/2f0db7d418e781354d8a3c50e611e3b1cd413087' (2024-03-13)
  → 'github:nix-community/home-manager/b787726a8413e11b074cde42704b4af32d95545c' (2024-04-06)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/0ad13a6833440b8e238947e47bea7f11071dc2b2' (2024-03-12)
  → 'github:NixOS/nixpkgs/ff0dbd94265ac470dda06a657d5fe49de93b4599' (2024-04-06)

* chore: update nvfetcher sources
hyprland: fc228737d3d0c12e34a7fa155a0fc3192e5e4017 → b57375545f5da1f7790341905d1049b1873a8bb3
swaylock: ac089b8b8ae7852816fa709f6d97659221b75e18 → 77246bbbbf8926bdb8962cffab6616bc2b9e8a06
helix: 4bf31e995ead4e5f6e8cd4a08ea0497f1d35695b → 0164c4ca888084df4f511da22c6a0a664b5061d2
palette: e44233ceae6809d50cba3c0c95332cc87ffff022 → 408f081b6402d5d17b8324b75c6db5998100757d
neovim: 045e3499d9ec8d84635fb08877ae44fd33f6a38d → aebe43db9cb26e1c70fc5b2fd4158169c405e720
sway: c7e54561a2539024020837f23068f70c6d2ae424 → 9c430d7010d73444af5272a596e3a2c058612f71
glamour: 3ef2c9533b6d3c4d6309a850765500179cf32d1c → 66d7b09325af67b1c5cdb063343e829c04ad7d5f
tmux: cece0c36772483d1343bcace2b1cedb007057c2e → 5ed4e8a6a20c928688da268dfcdf460ac9c3cb49
zathura: 1bda9d8274dd327b7931886ef0c5c1eb33903814 → 0adc53028d81bf047461bc61c43a484d11b15220
bat: 2bafe4454d8db28491e9087ff3a1382c336e7d27 → b19bea35a85a32294ac4732cad5b0dc6495bed32
lazygit: a544cef9a18c3a94e0344281e0ddcf99a18a8ede → 30bff2e6d14ca12a09d71e5ce4e6a086b3e48aa6
gtk: 26b0d12b1b3f0d3266581f08e428d335eba8b2b2 → edef76faba00f1f8bd8311fc487f0f0b2670dd0d

* fix(home-manager): use nvfetcher source for glamour

* chore: call-flake -> get-flake

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: seth <getchoo@tuta.io>
2024-04-07 09:40:59 +00:00
.github ci: use --commit-changes with nvfetcher 2024-04-07 05:23:55 -04:00
_sources chore: update lockfiles (#90) 2024-04-07 09:40:59 +00:00
assets/previews chore: add project previews (#35) 2023-06-25 20:16:54 -04:00
dev chore: update lockfiles (#90) 2024-04-07 09:40:59 +00:00
docs docs: update for 6ab5126 2024-04-07 09:18:13 +00:00
modules chore: update lockfiles (#90) 2024-04-07 09:40:59 +00: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 swaylock module (#92) 2024-04-07 09:17:43 +00:00
README.md docs: correct use of modules over imports 2023-12-16 18:45:45 -05:00
test.nix feat(home-manager): init swaylock module (#92) 2024-04-07 09:17:43 +00: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