aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/st
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-25 12:18:00 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-04-25 12:18:00 +0200
commit564adfc883bb9c08bc1aeba1a35d00699a9ff770 (patch)
tree17349365d34d020a18e34af7572e68c71dbb4868 /modules/by-name/st
parentupdate.sh: Show the arguments, which are propagated to the scripts (diff)
downloadnixos-config-564adfc883bb9c08bc1aeba1a35d00699a9ff770.zip
{modules/steam,hosts/tiamat}: Activate again
Diffstat (limited to '')
-rw-r--r--modules/by-name/st/steam/module.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/modules/by-name/st/steam/module.nix b/modules/by-name/st/steam/module.nix
index 49149cd7..6c589f2d 100644
--- a/modules/by-name/st/steam/module.nix
+++ b/modules/by-name/st/steam/module.nix
@@ -4,20 +4,28 @@
pkgs,
...
}: let
- cfg = config.soispha.services.steam;
+ cfg = config.soispha.programs.steam;
in {
- options.soispha.services.steam = {
+ options.soispha.programs.steam = {
enable = lib.mkEnableOption "Steam";
};
config = lib.mkIf cfg.enable {
+ nixpkgs.config.allowUnfreePredicate = pkg:
+ builtins.elem (lib.getName pkg) [
+ "steam"
+ "steam-unwrapped"
+ "steam-original"
+ "steam-run"
+ ];
+
programs.steam = {
enable = true;
};
environment.systemPackages = [
# TODO: Why is this package needed? <2024-05-16>
- pkgs.wineWowPackages.waylandFull
+ # pkgs.wineWowPackages.waylandFull
];
};
}