stockholm/makefu/2configs/virtualization.nix

9 lines
185 B
Nix
Raw Normal View History

2015-08-24 09:06:10 +00:00
{ config, lib, pkgs, ... }:
let
mainUser = config.krebs.build.user;
in {
virtualisation.libvirtd.enable = true;
users.extraUsers.${mainUser.name}.extraGroups = [ "libvirtd" ];
}