Add QEMU/KVM
This commit is contained in:
parent
d772ca2b15
commit
e07f8d9d76
2 changed files with 4 additions and 4 deletions
|
|
@ -32,6 +32,7 @@
|
||||||
nload
|
nload
|
||||||
pciutils
|
pciutils
|
||||||
];
|
];
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
fonts = {
|
fonts = {
|
||||||
fonts = with pkgs; [
|
fonts = with pkgs; [
|
||||||
corefonts # Microsoft free fonts
|
corefonts # Microsoft free fonts
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,13 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
virtualbox.host.enable = true;
|
libvirtd.enable = true;
|
||||||
virtualbox.host.enableExtensionPack = true;
|
|
||||||
docker.enable = true;
|
docker.enable = true;
|
||||||
};
|
};
|
||||||
users.users.froidmpa.extraGroups = [ "docker" "vboxusers" ];
|
users.users.froidmpa.extraGroups = [ "docker" "libvirtd" ];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
docker-compose
|
docker-compose
|
||||||
|
virt-manager
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue