From b91a22eaace394c57f02bd8e03311400fac7239c Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 14 Jul 2021 11:28:36 -0400 Subject: [PATCH] virtualbox --- features/virtualbox.nix | 4 ++++ flake.nix | 1 + home.nix | 1 + hosts/p71.nix | 4 +--- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 features/virtualbox.nix diff --git a/features/virtualbox.nix b/features/virtualbox.nix new file mode 100644 index 0000000..1dbde70 --- /dev/null +++ b/features/virtualbox.nix @@ -0,0 +1,4 @@ +{ pkgs, ... }: { + virtualisation.virtualbox.host.enable = true; + users.extraGroups.vboxusers.members = [ "srid" ]; +} diff --git a/flake.nix b/flake.nix index 111fd5d..f7c3f10 100644 --- a/flake.nix +++ b/flake.nix @@ -60,6 +60,7 @@ inputs.nixos-hardware.nixosModules.lenovo-thinkpad-p53 ./features/email ./features/desktopish + ./features/virtualbox ./features/block-socialmedia.nix #./features/server-mode.nix # ./features/postgrest.nix diff --git a/home.nix b/home.nix index c839592..c7740c8 100644 --- a/home.nix +++ b/home.nix @@ -27,6 +27,7 @@ rec { procs # no more: ps -ef | grep tealdeer zellij + unzip dust ripgrep htop diff --git a/hosts/p71.nix b/hosts/p71.nix index d94c11f..4d62ff2 100644 --- a/hosts/p71.nix +++ b/hosts/p71.nix @@ -68,6 +68,7 @@ programs = { mosh.enable = true; + steam.enable = true; }; programs.adb.enable = true; @@ -75,10 +76,7 @@ # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - aria2 brave - fzf - htop mpv nodejs-14_x # Need this for https://nixos.wiki/wiki/Vscode obsidian