mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
21 lines
374 B
Nix
21 lines
374 B
Nix
![]() |
{
|
||
|
perSystem = {
|
||
|
pkgs,
|
||
|
lib,
|
||
|
config,
|
||
|
self',
|
||
|
...
|
||
|
}: let
|
||
|
configPath = ./config;
|
||
|
|
||
|
devshellImports = let
|
||
|
files = builtins.attrNames (builtins.readDir configPath);
|
||
|
in
|
||
|
map
|
||
|
(name: configPath + "/${name}")
|
||
|
(builtins.filter (name: builtins.match ".*\\.nix$" name != null) files);
|
||
|
in {
|
||
|
imports = devshellImports;
|
||
|
};
|
||
|
}
|