Tenative crosvm support

This commit is contained in:
Nathan McCarty 2022-11-04 02:26:37 -04:00
parent 73979e2ac0
commit 66a24f34f5
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 11 additions and 1 deletions

View File

@ -162,6 +162,7 @@ in {
lxc = mkDefaultOption "lxc" config.nathan.config.isDesktop;
nixos =
mkDefaultOption "nixos containers" config.nathan.config.isDesktop;
crosvm = mkDefaultOption "crosvm" config.nathan.config.isDesktop;
};
# Support for interacting with a dual booted windows system
windows = {

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, inputs, ... }:
let nc = config.nathan.config;
in with lib; {
config = mkMerge [
@ -36,5 +36,14 @@ in with lib; {
};
};
})
# (mkIf nc.virtualization.crosvm {
# environment.systemPackages =
# with inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}; [
# crosvm
# libguestfs
# guestfs-tools
# sommelier
# ];
# })
];
}