diff options
Diffstat (limited to 'modules/desktop/apps/games/freeciv.nix')
-rw-r--r-- | modules/desktop/apps/games/freeciv.nix | 24 |
1 files changed, 24 insertions, 0 deletions
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) {}) + ]; + }; +} |