mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
17 lines
349 B
Nix
Executable file
17 lines
349 B
Nix
Executable file
{ flake, ... }:
|
|
let
|
|
importList =
|
|
let
|
|
content = builtins.readDir ./.;
|
|
dirContent = builtins.filter (n: content.${n} == "directory") (builtins.attrNames content);
|
|
in
|
|
map (name: ./. + "/${name}") dirContent;
|
|
|
|
microVMImport = [
|
|
flake.inputs.microvm.nixosModules.host
|
|
];
|
|
|
|
in
|
|
{
|
|
imports = importList ++ microVMImport;
|
|
}
|