mirror of
https://gitlab.com/upRootNutrition/resume.git
synced 2025-06-15 09:05:12 -05:00
24 lines
434 B
Nix
Executable file
24 lines
434 B
Nix
Executable file
{
|
|
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;
|
|
};
|
|
}
|