diff --git a/modules/system.nix b/modules/system.nix index 747d0ea..284c343 100644 --- a/modules/system.nix +++ b/modules/system.nix @@ -32,6 +32,7 @@ nload pciutils ]; + nixpkgs.config.allowUnfree = true; fonts = { fonts = with pkgs; [ corefonts # Microsoft free fonts diff --git a/modules/virtualisation.nix b/modules/virtualisation.nix index 411e25b..adb9b7a 100644 --- a/modules/virtualisation.nix +++ b/modules/virtualisation.nix @@ -1,14 +1,13 @@ { config, lib, pkgs, ... }: { - nixpkgs.config.allowUnfree = true; virtualisation = { - virtualbox.host.enable = true; - virtualbox.host.enableExtensionPack = true; + libvirtd.enable = true; docker.enable = true; }; - users.users.froidmpa.extraGroups = [ "docker" "vboxusers" ]; + users.users.froidmpa.extraGroups = [ "docker" "libvirtd" ]; environment.systemPackages = with pkgs; [ docker-compose + virt-manager ]; }