mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 10:35:13 -05:00
17 lines
434 B
Nix
Executable file
17 lines
434 B
Nix
Executable file
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;
|
|
}
|