mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 05:27:13 -06:00
test: trying to get microVMs to work
This commit is contained in:
parent
7c48cded1d
commit
8f74b8dbc8
10 changed files with 598 additions and 585 deletions
|
|
@ -1,6 +1,17 @@
|
|||
{ flake, ... }:
|
||||
{
|
||||
imports = [
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue