feat: init

This commit is contained in:
Nick 2024-11-10 22:55:49 -06:00
parent be12403f13
commit 7145b8a9fa
21 changed files with 591 additions and 9 deletions

15
parts/default.nix Normal file → Executable file
View 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;
};
}