modules/games: add freeciv game

This commit is contained in:
Dmitriy Pleshevskiy 2024-09-02 12:35:07 +03:00
parent 23acfa2b57
commit 7b129546bb
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -8,10 +8,12 @@ in
mindustry.enable = mkEnableOption "mindustry";
widelands.enable = mkEnableOption "widelands";
unciv.enable = mkEnableOption "unciv";
freeciv.enable = mkEnableOption "freeciv";
};
config.home.packages =
lib.optional cfg.mindustry.enable pkgs.unstable.mindustry
++ lib.optional cfg.widelands.enable pkgs.widelands
++ lib.optional cfg.unciv.enable pkgs.unstable.unciv;
++ lib.optional cfg.unciv.enable pkgs.unstable.unciv
++ lib.optional cfg.freeciv.enable pkgs.unstable.freeciv;
}