nixos-config/2configs/virtualization.nix
2015-08-24 11:06:10 +02:00

9 lines
185 B
Nix

{ config, lib, pkgs, ... }:
let
mainUser = config.krebs.build.user;
in {
virtualisation.libvirtd.enable = true;
users.extraUsers.${mainUser.name}.extraGroups = [ "libvirtd" ];
}