Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts. > Atomic commits? Never heard of them!
49 lines
1.0 KiB
Nix
49 lines
1.0 KiB
Nix
{ inputs, ... }: {
|
|
flake-file.inputs = {
|
|
catppuccin.url = "github:catppuccin/nix/release-25.11";
|
|
catppuccin.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
flake.modules.nixos.catppuccin = {
|
|
imports = [
|
|
inputs.catppuccin.nixosModules.catppuccin
|
|
];
|
|
|
|
home-manager.sharedModules = [
|
|
inputs.self.modules.homeManager.catppuccin
|
|
];
|
|
|
|
catppuccin.enable = true;
|
|
};
|
|
|
|
flake.modules.homeManager.catppuccin = { pkgs, ... }: {
|
|
imports = [
|
|
inputs.catppuccin.homeModules.catppuccin
|
|
];
|
|
|
|
# Catppuccin cursor
|
|
home.pointerCursor =
|
|
let
|
|
size = 24;
|
|
in
|
|
{
|
|
enable = true;
|
|
package = pkgs.catppuccin-cursors.mochaMauve;
|
|
name = "catppuccin-mocha-mauve-cursors";
|
|
inherit size;
|
|
|
|
dotIcons.enable = true;
|
|
gtk.enable = true;
|
|
hyprcursor.enable = true;
|
|
hyprcursor.size = size;
|
|
};
|
|
|
|
catppuccin.enable = true;
|
|
# Required for QT apps to use the catppuccin colors
|
|
qt = {
|
|
enable = true;
|
|
style.name = "kvantum";
|
|
};
|
|
};
|
|
}
|