From 368cb6b0d25db2ae23be42ad51584de059997e51 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 20 May 2024 16:10:21 +0200 Subject: refactor(sys): Modularize and move to `modules/system` or `pkgs` --- modules/system/services/steam/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 modules/system/services/steam/default.nix (limited to 'modules/system/services/steam/default.nix') diff --git a/modules/system/services/steam/default.nix b/modules/system/services/steam/default.nix new file mode 100644 index 00000000..6e507fd9 --- /dev/null +++ b/modules/system/services/steam/default.nix @@ -0,0 +1,23 @@ +{ + lib, + config, + pkgs, + ... +}: let + cfg = config.soispha.services.steam; +in { + options.soispha.services.steam = { + enable = lib.mkEnableOption "Stream"; + }; + + config = lib.mkIf cfg.enable { + programs.steam = { + enable = true; + }; + + environment.systemPackages = [ + # TODO: Why is this package needed? <2024-05-16> + pkgs.wineWowPackages.waylandFull + ]; + }; +} -- cgit 1.4.1