From 34a81b72d264acc99972e4a8e77be33e713486c8 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Tue, 25 Nov 2025 07:16:48 -0500 Subject: use overlays instead of custom defined packages when possible --- modules/desktop/apps/games/lunati.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 modules/desktop/apps/games/lunati.nix (limited to 'modules/desktop/apps/games/lunati.nix') diff --git a/modules/desktop/apps/games/lunati.nix b/modules/desktop/apps/games/lunati.nix new file mode 100644 index 0000000..1c06b4f --- /dev/null +++ b/modules/desktop/apps/games/lunati.nix @@ -0,0 +1,24 @@ +{ + config, + options, + lib, + pkgs, + rootPath, + ... +}: let + luantiConf = config.modules.desktop.apps.games.luanti; + configDir = config.nixosConfig.configDir; +in { + options.modules.desktop.apps.games.luanti = { + enable = lib.mkOption { + type = lib.types.bool; + default = false; + }; + }; + + config = lib.mkIf (luantiConf.enable) { + home.packages = with pkgs; [ + luanti + ]; + }; +} -- cgit v1.2.1