punkfairie
f26b1be83f
Some checks are pending
CI / Format Nix files (push) Waiting to run
CI / Test Modules (push) Waiting to run
CI / Validate sources (push) Waiting to run
Release / Make release (push) Waiting to run
Release / Publish to Flake registries (push) Blocked by required conditions
Build & deploy website / Build site (push) Waiting to run
Build & deploy website / Deploy website (push) Blocked by required conditions
18 lines
336 B
Nix
18 lines
336 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;
|
|
};
|
|
}
|