2023-11-02 10:55:47 -07:00
|
|
|
{ inputs, ... }@flakeArgs: { lib, pkgs, ... }@systemArgs:
|
2023-04-18 17:01:16 -07:00
|
|
|
let
|
2023-11-02 10:55:47 -07:00
|
|
|
extendedLib = import ../lib/mkExtLib.nix inputs.nixpkgs.lib (flakeArgs // systemArgs);
|
2023-07-13 09:17:51 -07:00
|
|
|
inherit (extendedLib) ctp;
|
2023-04-18 17:01:16 -07:00
|
|
|
in
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
let
|
|
|
|
files = [
|
|
|
|
./alacritty.nix
|
|
|
|
./bat.nix
|
|
|
|
./bottom.nix
|
|
|
|
./btop.nix
|
2023-10-22 12:28:28 -07:00
|
|
|
./fish.nix
|
2023-04-18 17:01:16 -07:00
|
|
|
./kitty.nix
|
2023-06-19 08:14:19 -07:00
|
|
|
./lazygit.nix
|
2023-04-18 17:01:16 -07:00
|
|
|
./starship.nix
|
|
|
|
./helix.nix
|
2023-10-22 09:48:48 -07:00
|
|
|
./glamour.nix
|
2023-04-18 17:01:16 -07:00
|
|
|
./gtk.nix
|
2023-11-02 08:55:47 -07:00
|
|
|
./mako.nix
|
2023-04-18 17:01:16 -07:00
|
|
|
./neovim.nix
|
2023-11-02 09:05:02 -07:00
|
|
|
./micro.nix
|
2023-04-18 17:01:16 -07:00
|
|
|
./polybar.nix
|
|
|
|
./sway.nix
|
|
|
|
./tmux.nix
|
|
|
|
];
|
|
|
|
in
|
2023-11-02 10:55:47 -07:00
|
|
|
extendedLib.ctp.mapModules extendedLib files;
|
2023-04-17 09:44:07 -07:00
|
|
|
|
2023-07-13 09:17:51 -07:00
|
|
|
options.catppuccin = {
|
|
|
|
flavour = lib.mkOption {
|
2023-04-17 09:44:07 -07:00
|
|
|
type = ctp.types.flavourOption;
|
2023-03-27 15:49:50 -07:00
|
|
|
default = "latte";
|
|
|
|
description = "Global Catppuccin flavour";
|
|
|
|
};
|
2023-07-13 09:17:51 -07:00
|
|
|
accent = lib.mkOption {
|
2023-04-17 09:44:07 -07:00
|
|
|
type = ctp.types.accentOption;
|
2023-04-14 19:32:44 -07:00
|
|
|
default = "teal";
|
|
|
|
description = "Global Catppuccin accent";
|
|
|
|
};
|
2023-03-27 15:49:50 -07:00
|
|
|
};
|
|
|
|
}
|