Skip to content

Commit

Permalink
feat(vm): enabled qemu, virtualbox and more virtualisation settings
Browse files Browse the repository at this point in the history
  • Loading branch information
luisnquin committed Mar 19, 2024
1 parent dda8c13 commit bcb2a32
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions system/modules/vm/base.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{pkgs, ...}: {
virtualisation = {
libvirtd = {
enable = true;
onBoot = "start";
onShutdown = "suspend";
qemu.runAsRoot = true;
};

virtualbox.host.enable = true;
};

environment.systemPackages = with pkgs; [
virt-manager
qemu
];
}
1 change: 1 addition & 0 deletions system/modules/vm/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
imports = [
./macos-ventura.nix
./base.nix
];
}

0 comments on commit bcb2a32

Please sign in to comment.