about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-11-30 15:04:07 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-11-30 15:04:07 +0100
commit8794266ad3ba4d56bad85412559ff80843f5920d (patch)
tree062a578b3b613cc9a628dc8d9b9eee0218e3f507 /modules
parenttreewide: Update (diff)
downloadnixos-config-8794266ad3ba4d56bad85412559ff80843f5920d.zip
modules/{common,steam,nixpkgs}: Disable Steam
I have not used it for over 6 months.
Diffstat (limited to '')
-rw-r--r--modules/by-name/ni/nixpkgs/module.nix6
-rw-r--r--modules/by-name/st/steam/module.nix5
-rw-r--r--modules/common/default.nix2
3 files changed, 3 insertions, 10 deletions
diff --git a/modules/by-name/ni/nixpkgs/module.nix b/modules/by-name/ni/nixpkgs/module.nix
index fcde9505..502bcff2 100644
--- a/modules/by-name/ni/nixpkgs/module.nix
+++ b/modules/by-name/ni/nixpkgs/module.nix
@@ -44,12 +44,6 @@ in {
           allowUnfreePredicate = pkg:
             builtins.elem (lib.getName pkg) [
               "pypemicro" # required by pynitrokey
-
-              # TODO(@bpeetz): Allow moving them to their respective module. <2025-04-25>
-              "steam"
-              "steam-unwrapped"
-              "steam-original"
-              "steam-run"
             ];
         };
       };
diff --git a/modules/by-name/st/steam/module.nix b/modules/by-name/st/steam/module.nix
index a02b2e4b..87cdc709 100644
--- a/modules/by-name/st/steam/module.nix
+++ b/modules/by-name/st/steam/module.nix
@@ -10,7 +10,6 @@
 {
   lib,
   config,
-  pkgs,
   ...
 }: let
   cfg = config.soispha.programs.steam;
@@ -22,8 +21,8 @@ in {
   config = lib.mkIf cfg.enable {
     nixpkgs.config.allowUnfreePredicate = pkg:
       builtins.elem (lib.getName pkg) [
-        # NOTE: These are not really applied. Look at
-        # <modules/by-name/ni/nixpkgs/config.nix> instead. <2025-04-25>
+        # NOTE: These are not really applied. Needs to be at
+        # <modules/by-name/ni/nixpkgs/config.nix> for some reason. <2025-04-25>
         "steam"
         "steam-unwrapped"
         "steam-original"
diff --git a/modules/common/default.nix b/modules/common/default.nix
index facb5c3b..f9831351 100644
--- a/modules/common/default.nix
+++ b/modules/common/default.nix
@@ -273,7 +273,7 @@
         };
       };
       mpv.enable = true;
-      steam.enable = true;
+      steam.enable = false;
       ssh.enable = true;
       swaylock.enable = true;
       timewarrior.enable = true;