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

17 lines
357 B
Nix
Raw Normal View History

{ config
, lib
, ...
}:
let
inherit (config.catppuccin) sources;
cfg = config.programs.imv.catppuccin;
enable = cfg.enable && config.programs.imv.enable;
in
{
options.programs.imv.catppuccin =
lib.ctp.mkCatppuccinOpt "imv";
config.programs.imv.settings = lib.mkIf enable
(lib.ctp.fromINI (sources.imv + /themes/${cfg.flavour}.config));
}