aboutsummaryrefslogtreecommitdiffstats
path: root/modules/programs/umu-launcher
diff options
context:
space:
mode:
Diffstat (limited to 'modules/programs/umu-launcher')
-rw-r--r--modules/programs/umu-launcher/default.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/modules/programs/umu-launcher/default.nix b/modules/programs/umu-launcher/default.nix
index 6e8fa96..1e886e2 100644
--- a/modules/programs/umu-launcher/default.nix
+++ b/modules/programs/umu-launcher/default.nix
@@ -9,16 +9,20 @@
{
options.programs.umu-launcher = {
enable = lib.mkEnableOption "Enables umu-launcher.";
- packages = {
- umu-launcher = lib.mkPackageOption pkgs "umu-launcher" { };
- winetricks = lib.mkPackageOption pkgs "winetricks" { };
+ package = lib.mkOption {
+ type = lib.types.package;
+ default = pkgs.symlinkJoin {
+ name = "umu-launcher-bundle";
+ paths = with pkgs; [
+ umu-launcher
+ winetricks
+ ];
+ };
+ description = "Bundle of UMU Launcher and winetricks.";
};
};
config = lib.mkIf config.programs.umu-launcher.enable {
- home.packages = with config.programs.umu-launcher.packages; [
- umu-launcher
- winetricks
- ];
+ home.packages = [ config.programs.umu-launcher.package ];
};
}