45 lines
1,003 B
Nix
45 lines
1,003 B
Nix
{ inputs, ... }@flakeArgs: { lib, pkgs, ... }@systemArgs:
|
|
let
|
|
extendedLib = import ../lib/mkExtLib.nix inputs.nixpkgs.lib (flakeArgs // systemArgs);
|
|
inherit (extendedLib) ctp;
|
|
in
|
|
{
|
|
imports =
|
|
let
|
|
files = [
|
|
./alacritty.nix
|
|
./bat.nix
|
|
./bottom.nix
|
|
./btop.nix
|
|
./fish.nix
|
|
./kitty.nix
|
|
./lazygit.nix
|
|
./starship.nix
|
|
./helix.nix
|
|
./hyprland.nix
|
|
./glamour.nix
|
|
./gtk.nix
|
|
./mako.nix
|
|
./neovim.nix
|
|
./micro.nix
|
|
./polybar.nix
|
|
./sway.nix
|
|
./tmux.nix
|
|
./zathura.nix
|
|
];
|
|
in
|
|
extendedLib.ctp.mapModules extendedLib files;
|
|
|
|
options.catppuccin = {
|
|
flavour = lib.mkOption {
|
|
type = ctp.types.flavourOption;
|
|
default = "latte";
|
|
description = "Global Catppuccin flavour";
|
|
};
|
|
accent = lib.mkOption {
|
|
type = ctp.types.accentOption;
|
|
default = "teal";
|
|
description = "Global Catppuccin accent";
|
|
};
|
|
};
|
|
}
|