diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-04-03 00:37:59 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-04-03 00:37:59 +0530 |
| commit | ead444837d2c9e6d0f73690ffb713d18920523af (patch) | |
| tree | ec7f2d51ed797b0db469209b5f7976f9e24c539f /nixos/games | |
| parent | 6f836a75007c7d41fa549de78769845d7c9c2a7f (diff) | |
now my entire disk is on nixos + games :)
Diffstat (limited to 'nixos/games')
| -rw-r--r-- | nixos/games/default.nix | 9 | ||||
| -rw-r--r-- | nixos/games/minecraft.nix | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/nixos/games/default.nix b/nixos/games/default.nix new file mode 100644 index 0000000..75103a8 --- /dev/null +++ b/nixos/games/default.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: +{ + imports = + (if games.minecraft then [ ./minecraft.nix ] else []); + programs.steam.enable = true; + environment.systemPackages = with pkgs; [ + steam-run + ]; +} diff --git a/nixos/games/minecraft.nix b/nixos/games/minecraft.nix new file mode 100644 index 0000000..594f8bd --- /dev/null +++ b/nixos/games/minecraft.nix @@ -0,0 +1,6 @@ +{ config, pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + prismlauncher + ]; +} |
