archachatina: add disabled virtd.

This commit is contained in:
Gabriel Ebner 2016-03-26 17:50:33 +01:00
parent 739b573c07
commit 3ef605a735
1 changed files with 12 additions and 1 deletions

View File

@ -35,7 +35,18 @@
];
virtualisation.docker.enable = true;
users.extraUsers.gebner.extraGroups = [ "docker" ];
users.extraUsers.gebner.extraGroups = [ "docker" "libvirtd" ];
# virtualisation.libvirtd.enable = true;
networking.firewall.checkReversePath = false;
fileSystems."/var/lib/libvirt/images/vaccaria" = {
device = "//vaccaria.mtlaa.gebner.org/export/tmp/vms";
fsType = "cifs";
options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria"
"forceuid" "forcegid" "uid=0" "gid=0" ];
};
hardware.opengl.driSupport32Bit = true;
services.nix-serve = {
enable = true;