16 lines
334 B
Nix
16 lines
334 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (config.rose-pine) sources;
|
|
|
|
cfg = config.boot.loader.grub.rose-pine;
|
|
enable = cfg.enable && config.boot.loader.grub.enable;
|
|
in {
|
|
options.boot.loader.grub.rose-pine = lib.rp.mkRosePineOpt {name = "grub";};
|
|
|
|
config.boot.loader.grub = lib.mkIf enable {
|
|
theme = sources.grub;
|
|
};
|
|
}
|