mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
refactor: dynamic imports
This commit is contained in:
parent
0da982831f
commit
0f8051cf4a
6 changed files with 36 additions and 216 deletions
|
|
@ -89,6 +89,8 @@
|
|||
})
|
||||
names);
|
||||
|
||||
mkImports = names: baseDir: lib.map (name: "${self}/${baseDir}/${name}") names;
|
||||
|
||||
eachMonitor = _: monitor: {
|
||||
inherit (monitor) name;
|
||||
value = builtins.removeAttrs monitor [ "workspace" "name" "output" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue