mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-14 02:20:53 -06:00
test: setting up nas structure
This commit is contained in:
parent
8cd193ec49
commit
4225970826
747 changed files with 2938 additions and 4347 deletions
12
modules/nixos/homelab/guests/default.nix
Executable file
12
modules/nixos/homelab/guests/default.nix
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
let
|
||||
inherit (import ./helpers.nix) labHelpers;
|
||||
importList =
|
||||
let
|
||||
content = builtins.readDir ./.;
|
||||
dirContent = builtins.filter (n: content.${n} == "directory") (builtins.attrNames content);
|
||||
in
|
||||
map (name: ./. + "/${name}" { inherit labHelpers; }) dirContent;
|
||||
in
|
||||
{
|
||||
imports = importList;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue