mirror of
https://gitlab.com/upRootNutrition/resume.git
synced 2025-06-16 01:15:12 -05:00
feat: init
This commit is contained in:
commit
c28aa94951
11 changed files with 403 additions and 0 deletions
24
parts/default.nix
Executable file
24
parts/default.nix
Executable file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue