rose-pine-nix/modules/home-manager/default.nix
2023-11-03 11:55:17 -04:00

44 lines
981 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
];
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";
};
};
}