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

14 lines
356 B
Nix
Raw Normal View History

2024-05-21 14:53:46 -07:00
{ config, lib, ... }:
let
inherit (config.catppuccin) sources;
cfg = config.programs.imv.catppuccin;
enable = cfg.enable && config.programs.imv.enable;
in
{
2024-05-21 14:53:46 -07:00
options.programs.imv.catppuccin = lib.ctp.mkCatppuccinOpt "imv";
2024-05-21 14:53:46 -07:00
config.programs.imv.settings = lib.mkIf enable (
lib.ctp.fromINI (sources.imv + "/themes/${cfg.flavor}.config")
2024-05-21 14:53:46 -07:00
);
}