mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-10 13:54:38 -05:00
chore: quick push
This commit is contained in:
parent
f3ed254c00
commit
b936cfeed6
15 changed files with 190 additions and 14 deletions
24
templates/typst/parts/default.nix
Executable file
24
templates/typst/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