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