modules: change some settings, move steam options
This commit is contained in:
parent
b7da4a442b
commit
febb421800
9 changed files with 14 additions and 53 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue