Soho vibes for Nix
daef2d5b84
* 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> |
||
---|---|---|
.github | ||
_sources | ||
assets/previews | ||
dev | ||
docs | ||
modules | ||
.editorconfig | ||
.gitignore | ||
CONTRIBUTING.md | ||
default.nix | ||
flake.nix | ||
LICENSE | ||
nvfetcher.toml | ||
README.md | ||
test.nix |
Catppuccin for Nix
Previews
🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha
Usage
- 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>
];
};
}
{
imports = [
<catppuccin/modules/home-manager>
];
home.username = "user";
home.homeDirectory = "user";
programs.home-manager.enable = true;
}
- Choose your desired flavour with
catppuccin.flavour
{
catppuccin.flavour = "mocha";
}
- 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