summaryrefslogtreecommitdiff
path: root/home/gaming.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/gaming.nix')
-rw-r--r--home/gaming.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/home/gaming.nix b/home/gaming.nix
new file mode 100644
index 0000000..8d389e5
--- /dev/null
+++ b/home/gaming.nix
@@ -0,0 +1,17 @@
+{
+ lib,
+ config,
+ pkgs,
+ ...
+}: let
+ inherit (lib) optionals;
+ cfg = config.gaming;
+in {
+ home.packages = with pkgs;
+ (optionals cfg.homestuck.enable [
+ unofficial-homestuck-collection
+ ])
+ ++ (optionals cfg.minecraft.enable [
+ prismlauncher
+ ]);
+}