modules: change some settings, move steam options

This commit is contained in:
Charlie Root 2024-08-16 13:40:52 +02:00
commit febb421800
9 changed files with 14 additions and 53 deletions

View file

@ -5,17 +5,12 @@
...
}:
with lib; let
cfg = config.modules.programs.steam;
cfg = config.modules.system.programs.steam;
in {
options.modules.programs.steam = {
enable = mkEnableOption "steam";
gamescope = mkEnableOption "gamescope";
};
config = mkIf cfg.enable {
programs.steam = {
enable = true;
gamescopeSession.enable = mkIf cfg.gamescope true;
gamescopeSession.enable = true;
extraCompatPackages = with pkgs; [proton-ge-bin];
};
# See