Files
ccl-nixos-dotfiles/modules/desktop/gaming/steam.nix
2025-06-29 15:16:30 +08:00

28 lines
383 B
Nix

{
config,
lib,
pkgs,
...
}:
lib.my.makeSwitch {
inherit config;
optionName = "steam";
optionPath = [
"desktop"
"gaming"
"steam"
];
config' = {
programs.steam = {
enable = true;
package = pkgs.steam;
extraPackages = with pkgs; [
gamescope
];
};
my.persist.homeDirs = [
".local/share/Steam"
];
};
}