From e4781a2c772c1bd6802e65847629f2248ba37336 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Wed, 23 Jul 2025 08:29:48 -0400 Subject: 2025-07-23 --- modules/desktop/apps/games/freeciv.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 modules/desktop/apps/games/freeciv.nix (limited to 'modules/desktop/apps/games/freeciv.nix') diff --git a/modules/desktop/apps/games/freeciv.nix b/modules/desktop/apps/games/freeciv.nix new file mode 100644 index 0000000..cb5e462 --- /dev/null +++ b/modules/desktop/apps/games/freeciv.nix @@ -0,0 +1,24 @@ +{ + config, + options, + lib, + pkgs, + rootPath, + ... +}: let + freecivConf = config.modules.desktop.apps.games.freeciv; + configDir = config.nixosConfig.configDir; +in { + options.modules.desktop.apps.games.freeciv = { + enable = lib.mkOption { + type = lib.types.bool; + default = false; + }; + }; + + config = lib.mkIf (freecivConf.enable) { + home.packages = with pkgs; [ + (callPackage (rootPath + /packages/freeciv/default.nix) {}) + ]; + }; +} -- cgit v1.2.1