2023-06-02 12:25:15 -07:00
|
|
|
nixpkgs: { config, pkgs, lib, ... }:
|
2023-04-18 17:01:16 -07:00
|
|
|
let
|
2023-06-02 12:25:15 -07:00
|
|
|
extendedLib = import ../lib/mkExtLib.nix nixpkgs.lib;
|
2023-04-18 17:01:16 -07:00
|
|
|
in
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
let
|
|
|
|
files = [
|
|
|
|
./grub.nix
|
|
|
|
];
|
|
|
|
in
|
2023-04-17 09:44:07 -07:00
|
|
|
extendedLib.ctp.mapModules config pkgs extendedLib files;
|
2023-04-16 13:11:09 -07:00
|
|
|
|
2023-04-17 09:44:07 -07:00
|
|
|
|
|
|
|
options.catppuccin = with extendedLib; {
|
|
|
|
flavour = mkOption {
|
|
|
|
type = ctp.types.flavourOption;
|
2023-03-28 17:57:15 -07:00
|
|
|
default = "latte";
|
|
|
|
description = "Global Catppuccin flavour";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|