mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
18 lines
434 B
Nix
18 lines
434 B
Nix
![]() |
let
|
||
|
configPath = ./config;
|
||
|
|
||
|
themeFunctions = {
|
||
|
dummy = [];
|
||
|
};
|
||
|
|
||
|
themes = builtins.listToAttrs (map (name: {
|
||
|
name = builtins.substring 0 (builtins.stringLength name - 4) name;
|
||
|
value = import (configPath + "/${name}") {inherit themeFunctions;};
|
||
|
})
|
||
|
(builtins.filter (name:
|
||
|
builtins.match ".*\\.nix$" name != null) (builtins.attrNames
|
||
|
(builtins.readDir configPath))));
|
||
|
in {
|
||
|
themes = themes;
|
||
|
}
|