mirror of
https://gitlab.com/upRootNutrition/website.git
synced 2025-06-16 04:25:11 -05:00
feat: init
This commit is contained in:
parent
be12403f13
commit
7145b8a9fa
21 changed files with 591 additions and 9 deletions
15
parts/default.nix
Normal file → Executable file
15
parts/default.nix
Normal file → Executable file
|
@ -5,9 +5,16 @@
|
|||
config,
|
||||
self',
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./devshells.nix
|
||||
];
|
||||
}: 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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue