diff --git a/home/programs/graphical/apps/default.nix b/home/programs/graphical/apps/default.nix index bbb1780..d6b33cb 100644 --- a/home/programs/graphical/apps/default.nix +++ b/home/programs/graphical/apps/default.nix @@ -10,5 +10,6 @@ _: { ./stremio.nix ./qbittorrent.nix ./qalculate-gtk.nix + ./virtualbox.nix ]; } diff --git a/home/programs/graphical/apps/virtualbox.nix b/home/programs/graphical/apps/virtualbox.nix new file mode 100644 index 0000000..757f9ae --- /dev/null +++ b/home/programs/graphical/apps/virtualbox.nix @@ -0,0 +1,16 @@ +{ + lib, + pkgs, + osConfig, + ... +}: let + inherit (lib) mkIf; + + cfg = osConfig.myOptions.home-manager.programs.applications.virtualbox; +in { + config = mkIf cfg.enable { + home.packages = with pkgs; [ + virtualbox + ]; + }; +} diff --git a/hosts/voyager/default.nix b/hosts/voyager/default.nix index 25f9581..1702653 100644 --- a/hosts/voyager/default.nix +++ b/hosts/voyager/default.nix @@ -65,6 +65,8 @@ ".local/share/Smart Code ltd/Stremio" ".config/obs-studio" ".local/share/PrismLauncher" + ".config/VirtualBox" + ".local/share/VirtulBox VMs" # Tools ".ssh" @@ -210,6 +212,7 @@ }; }; qalculate-gtk.enable = true; + virtualbox.enable = true; }; file-managers = { pcmanfm-qt.enable = true; diff --git a/options/home/programs/default.nix b/options/home/programs/default.nix index 4135ce3..1f637ce 100644 --- a/options/home/programs/default.nix +++ b/options/home/programs/default.nix @@ -47,6 +47,7 @@ in obs.enable = mkEnableOption "OBS (Free and oepn source software for video recording and live streaming)"; mpv.enable = mkEnableOption "MPV (General-purpose media player)"; qalculate-gtk.enable = mkEnableOption "qalculate-gtk (The ultimate desktop calculator)"; + virtualbox.enable = mkEnableOption "VirtualBox"; }; file-managers = {