From bb11479130b0988e93408aa917cfc872d427d95f Mon Sep 17 00:00:00 2001 From: Leonardo Date: Sat, 28 Feb 2026 16:27:59 +0100 Subject: nuovo layout --- components/programs/games.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 components/programs/games.nix (limited to 'components/programs/games.nix') diff --git a/components/programs/games.nix b/components/programs/games.nix new file mode 100644 index 0000000..560e210 --- /dev/null +++ b/components/programs/games.nix @@ -0,0 +1,16 @@ +{lib, config, pkgs, ...}: { + options.games.enable = lib.mkEnableOption "Games"; + + config = lib.mkIf config.games.enable { + hardware.steam-hardware.enable = true; + + #Steam + programs = { + gamemode.enable = true; + steam.enable = true; + }; + + # Packages + environment.systemPackages = with pkgs; [ prismlauncher heroic ]; + }; +} -- cgit v1.3