about summary refs log tree commit diff stats
path: root/modules/by-name/st
diff options
context:
space:
mode:
Diffstat (limited to 'modules/by-name/st')
-rw-r--r--modules/by-name/st/steam/module.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/by-name/st/steam/module.nix b/modules/by-name/st/steam/module.nix
new file mode 100644
index 00000000..49149cd7
--- /dev/null
+++ b/modules/by-name/st/steam/module.nix
@@ -0,0 +1,23 @@
+{
+  lib,
+  config,
+  pkgs,
+  ...
+}: let
+  cfg = config.soispha.services.steam;
+in {
+  options.soispha.services.steam = {
+    enable = lib.mkEnableOption "Steam";
+  };
+
+  config = lib.mkIf cfg.enable {
+    programs.steam = {
+      enable = true;
+    };
+
+    environment.systemPackages = [
+      # TODO: Why is this package needed? <2024-05-16>
+      pkgs.wineWowPackages.waylandFull
+    ];
+  };
+}