Update to (somewhat?) dendritic pattern
Heavily inspired by https://github.com/Doc-Steve/dendritic-design-with-flake-parts. > Atomic commits? Never heard of them!
This commit is contained in:
48
modules/programs/catppuccin.nix
Normal file
48
modules/programs/catppuccin.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user