flocon/modules/nix/style/modules/nvf.nix
Anthony Rodriguez 851024052d
modules: move style to nix/style
This is temporary, as we're going to get rid of that awkward style
module that was meant to be shared, but ended up being too specific to
my use-case. We just put it in a nix directory for now, as we will with
everything else. This will be refactored later to be mixed with the
relevant program's configuration.
2025-01-14 11:02:13 +01:00

17 lines
287 B
Nix

{
lib,
config,
...
}: let
cfg = config.local.style;
in {
config.home-manager.sharedModules = lib.mkIf cfg.enable [
{
programs.nvf.settings.vim.theme = {
enable = true;
name = "base16";
base16-colors = cfg.scheme.palette;
};
}
];
}