mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 04:59:42 +00:00
17 lines
237 B
Nix
17 lines
237 B
Nix
|
{
|
||
|
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
|
||
|
];
|
||
|
};
|
||
|
}
|