mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 22:40:57 -05:00
Refactor template: extract scripts, overlays, and hosts into separate modules
Co-authored-by: dwinkler1 <22460147+dwinkler1@users.noreply.github.com>
This commit is contained in:
parent
5e8f07c560
commit
3398a72241
17 changed files with 1185 additions and 422 deletions
12
templates/rde/overlays/theme.nix
Normal file
12
templates/rde/overlays/theme.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Extra theme packages overlay
|
||||
config: final: prev: let
|
||||
extraTheme = {
|
||||
plugin = prev.vimPlugins."${config.theme.extraColorschemePackage.plugin}";
|
||||
name = config.theme.extraColorschemePackage.name;
|
||||
config = {
|
||||
lua = config.theme.extraColorschemePackage.extraLua;
|
||||
};
|
||||
};
|
||||
in {
|
||||
inherit extraTheme;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue