first VM up and running! still wip

This commit is contained in:
Sagar Ch 2024-06-07 02:35:33 +00:00
parent 35710f6d3c
commit 0d9e299595
4 changed files with 310 additions and 118 deletions

11
nixos/vm/default.nix Normal file
View file

@ -0,0 +1,11 @@
args@{ config, pkgs, lib, vmixLib, ... }:
with lib;
{
options.vmix.vms = mkOption {
type = types.attrsOf
(types.submodule (import ./options.nix args));
default = { };
};
imports = [ (import ./config.nix args) ];
}