about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-25 12:37:47 +0200
committerSoispha <soispha@vhack.eu>2023-08-25 12:37:47 +0200
commit07dc1e93f9c12f3ffd04a8f01692c5392885596c (patch)
tree58c4790aa1ea2438e2a0333380c75cacbae007ec
parentFix(hm/conf/neovim/plugins): Import added plugins (diff)
downloadnixos-config-07dc1e93f9c12f3ffd04a8f01692c5392885596c.tar.gz
nixos-config-07dc1e93f9c12f3ffd04a8f01692c5392885596c.zip
Fix(system/services/steam): Install wine with steam
-rw-r--r--hosts/apzu/default.nix3
-rw-r--r--system/services/steam/default.nix6
2 files changed, 8 insertions, 1 deletions
diff --git a/hosts/apzu/default.nix b/hosts/apzu/default.nix
index fb261aa8..293b09a2 100644
--- a/hosts/apzu/default.nix
+++ b/hosts/apzu/default.nix
@@ -7,6 +7,9 @@
   ];
 
   soispha = {
+    services.steam = {
+      enable = true;
+    };
     laptop = {
       enable = true;
       backlight = "intel_backlight";
diff --git a/system/services/steam/default.nix b/system/services/steam/default.nix
index d5eede9e..54091493 100644
--- a/system/services/steam/default.nix
+++ b/system/services/steam/default.nix
@@ -1,6 +1,7 @@
 {
   lib,
   config,
+  pkgs,
   ...
 }: let
   cfg = config.soispha.services.steam;
@@ -8,12 +9,15 @@ in {
   options.soispha.services.steam = {
     enable = lib.mkOption {
       default = false;
-      description = lib.mdDoc "Enable Steam";
+      description = lib.mdDoc "Steam";
     };
   };
   config = lib.mkIf cfg.enable {
     programs.steam = {
       enable = true;
     };
+    environment.systemPackages = [
+      pkgs.wineWowPackages.waylandFull
+    ];
   };
 }