From ad8d2b2a2c02d255bfc38eb160b561c4b570327b Mon Sep 17 00:00:00 2001 From: ChUrl Date: Mon, 21 Nov 2022 22:42:18 +0100 Subject: [PATCH] add dwarf-fortress --- home/christoph/nixinator/default.nix | 1 + home/modules/gaming.nix | 3 +++ 2 files changed, 4 insertions(+) diff --git a/home/christoph/nixinator/default.nix b/home/christoph/nixinator/default.nix index a9b62fd2..ef4d06b6 100644 --- a/home/christoph/nixinator/default.nix +++ b/home/christoph/nixinator/default.nix @@ -36,6 +36,7 @@ rec { bottles.enable = true; discordChromium.enable = true; discordElectron.enable = false; # This is the nixpkgs version, prefer the one from flatpak module + dwarffortress.enable = true; steam = { enable = true; diff --git a/home/modules/gaming.nix b/home/modules/gaming.nix index 517c775a..058a7434 100644 --- a/home/modules/gaming.nix +++ b/home/modules/gaming.nix @@ -23,6 +23,7 @@ in { discordChromium.enable = mkEnableOpt "Discord (Chromium)"; prism.enable = mkEnableOpt "PrismLauncher for Minecraft (flatpak)"; bottles.enable = mkEnableOpt "Bottles (flatpak)"; + dwarffortress.enable = mkEnableOpt "Dwarf Fortress"; steam = { enable = mkEnableOpt "Steam (flatpak)"; @@ -66,6 +67,8 @@ in { # Prefer flatpak version as this one doesn't find the STEAM_DIR automatically # (optionals cfg.steam.enable [ protontricks ]) + + (optionals cfg.dwarffortress.enable [ dwarf-fortress-full ]) ]; # This doesn't work because steam doesn't detect symlinked skins, files have to be copied