From 0976e1ecaacdc17ef5c103aba5badac2c6b8494b Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 14 Jul 2021 11:30:49 -0400 Subject: [PATCH] vbox exts --- features/block-socialmedia.nix | 4 ++-- features/virtualbox.nix | 5 ++++- flake.nix | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/features/block-socialmedia.nix b/features/block-socialmedia.nix index 75fd912..11b3ffb 100644 --- a/features/block-socialmedia.nix +++ b/features/block-socialmedia.nix @@ -22,7 +22,7 @@ 127.0.0.1 facebook.com 127.0.0.1 www.facebook.com - 127.0.0.1 app.slack.com - 127.0.0.1 discord.com + #127.0.0.1 app.slack.com + #127.0.0.1 discord.com ''; } diff --git a/features/virtualbox.nix b/features/virtualbox.nix index 1dbde70..674d188 100644 --- a/features/virtualbox.nix +++ b/features/virtualbox.nix @@ -1,4 +1,7 @@ { pkgs, ... }: { - virtualisation.virtualbox.host.enable = true; + virtualisation.virtualbox.host = { + enable = true; + enableExtensionPack = true; + }; users.extraGroups.vboxusers.members = [ "srid" ]; } diff --git a/flake.nix b/flake.nix index ea46c07..197e34c 100644 --- a/flake.nix +++ b/flake.nix @@ -60,7 +60,7 @@ inputs.nixos-hardware.nixosModules.lenovo-thinkpad-p53 ./features/email ./features/desktopish - ./features/virtualbox + ./features/virtualbox.nix ./features/block-socialmedia.nix #./features/server-mode.nix # ./features/postgrest.nix