17 lines
287 B
Nix
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;
|
|
};
|
|
}
|
|
];
|
|
}
|