Added steam

This commit is contained in:
Jan-Bulthuis committed 2024-12-02 00:54:51 +01:00
1 parent 28eb24c658
commit ac628036a9
2 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -10,4 +10,4 @@ with lib;
options.modules.steam = {
enable = mkEnableOption "steam";
};
}
}
+9 -1
View File
@@ -10,5 +10,13 @@ let
enabled = any (user: user.modules.steam.enable) (attrValues config.home-manager.users);
in
{
config = mkIf enabled { programs.steam.enable = true; };
config = mkIf enabled {
modules.unfree.allowedPackages = [
"steam"
"steam-original"
"steam-unwrapped"
];
programs.steam.enable = true;
};
}