rose-pine-nix/modules/home-manager/default.nix
Isabel 71f4a7d6ff
feat(hm): micro init (#47)
* feat(hm): micro init

* Update modules/home-manager/micro.nix

Co-authored-by: seth <getchoo@tuta.io>

* Update modules/home-manager/micro.nix

Co-authored-by: seth <getchoo@tuta.io>

---------

Co-authored-by: seth <getchoo@tuta.io>
2023-11-02 12:05:02 -04:00

47 lines
955 B
Nix

nixpkgs: { config
, pkgs
, lib
, ...
}:
let
extendedLib = import ../lib/mkExtLib.nix nixpkgs.lib;
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
./glamour.nix
./gtk.nix
./mako.nix
./neovim.nix
./micro.nix
./polybar.nix
./sway.nix
./tmux.nix
];
in
extendedLib.ctp.mapModules config pkgs 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";
};
};
}