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

38 lines
778 B
Nix
Raw Normal View History

2023-04-18 17:01:16 -07:00
{ 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
./neovim.nix
./polybar.nix
./sway.nix
./tmux.nix
];
in
extendedLib.ctp.mapModules config pkgs extendedLib files;
2023-04-17 09:44:07 -07:00
options.catppuccin = with extendedLib; {
flavour = mkOption {
type = ctp.types.flavourOption;
2023-03-27 15:49:50 -07:00
default = "latte";
description = "Global Catppuccin flavour";
};
2023-04-17 09:44:07 -07:00
accent = mkOption {
type = ctp.types.accentOption;
default = "teal";
description = "Global Catppuccin accent";
};
2023-03-27 15:49:50 -07:00
};
}