nixos-config/2configs/virtualization.nix

10 lines
279 B
Nix
Raw Normal View History

2015-08-24 11:06:10 +02:00
{ config, lib, pkgs, ... }:
let
mainUser = config.krebs.build.user;
in {
virtualisation.libvirtd.enable = true;
users.extraUsers.${mainUser.name}.extraGroups = [ "libvirtd" ];
networking.firewall.checkReversePath = false; # TODO: unsolved issue in nixpkgs:#9067 [bug]
2015-08-24 11:06:10 +02:00
}