Add virtualbox

This commit is contained in:
ItsDrike 2024-07-08 14:54:54 +02:00
parent 38945825aa
commit cd412906a8
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
4 changed files with 21 additions and 0 deletions

View file

@ -10,5 +10,6 @@ _: {
./stremio.nix ./stremio.nix
./qbittorrent.nix ./qbittorrent.nix
./qalculate-gtk.nix ./qalculate-gtk.nix
./virtualbox.nix
]; ];
} }

View file

@ -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
];
};
}

View file

@ -65,6 +65,8 @@
".local/share/Smart Code ltd/Stremio" ".local/share/Smart Code ltd/Stremio"
".config/obs-studio" ".config/obs-studio"
".local/share/PrismLauncher" ".local/share/PrismLauncher"
".config/VirtualBox"
".local/share/VirtulBox VMs"
# Tools # Tools
".ssh" ".ssh"
@ -210,6 +212,7 @@
}; };
}; };
qalculate-gtk.enable = true; qalculate-gtk.enable = true;
virtualbox.enable = true;
}; };
file-managers = { file-managers = {
pcmanfm-qt.enable = true; pcmanfm-qt.enable = true;

View file

@ -47,6 +47,7 @@ in
obs.enable = mkEnableOption "OBS (Free and oepn source software for video recording and live streaming)"; obs.enable = mkEnableOption "OBS (Free and oepn source software for video recording and live streaming)";
mpv.enable = mkEnableOption "MPV (General-purpose media player)"; mpv.enable = mkEnableOption "MPV (General-purpose media player)";
qalculate-gtk.enable = mkEnableOption "qalculate-gtk (The ultimate desktop calculator)"; qalculate-gtk.enable = mkEnableOption "qalculate-gtk (The ultimate desktop calculator)";
virtualbox.enable = mkEnableOption "VirtualBox";
}; };
file-managers = { file-managers = {