rose-pine-nix/modules/home-manager/default.nix

32 lines
720 B
Nix

{ config, pkgs, lib, ... }: let
extendedLib = import ../lib/mkExtLib.nix lib;
in {
imports = let
files = [
./alacritty.nix
./bat.nix
./bottom.nix
./btop.nix
./kitty.nix
./starship.nix
./helix.nix
./gtk.nix
./polybar.nix
./sway.nix
./tmux.nix
];
in extendedLib.ctp.mapModules config pkgs extendedLib files;
options.catppuccin = with extendedLib; {
flavour = mkOption {
type = ctp.types.flavourOption;
default = "latte";
description = "Global Catppuccin flavour";
};
accent = mkOption {
type = ctp.types.accentOption;
default = "teal";
description = "Global Catppuccin accent";
};
};
}