enable VirtualBox host support, requires older kernel so far

This commit is contained in:
Trolli Schmittlauch 2019-12-16 23:08:33 +01:00
parent 7e8695c0bd
commit 5c728abebf

View file

@ -37,7 +37,7 @@ in {
services.davfs2.enable = true; services.davfs2.enable = true;
# try newer kernels # try newer kernels
boot.kernelPackages = pkgs.linuxPackages_latest; #boot.kernelPackages = pkgs.linuxPackages_latest;
services.fstrim.enable = true; services.fstrim.enable = true;
services.btrfs.autoScrub = services.btrfs.autoScrub =
@ -153,6 +153,10 @@ in {
}; };
#home-manager.users.spiollinux = import "${users.users.spiollinux.home}/nixconfigs/home/home.nix" { pkgs, ...}; #home-manager.users.spiollinux = import "${users.users.spiollinux.home}/nixconfigs/home/home.nix" { pkgs, ...};
# enable virtualbox support
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "spiollinux" ];
# wireshark noroot gropu # wireshark noroot gropu
users.groups.wireshark.gid = 500; users.groups.wireshark.gid = 500;
security.wrappers.dumpcap = { security.wrappers.dumpcap = {