steam: Move to system instead of Flatpak
All checks were successful
check / check (push) Successful in 36s

- Support of gamescope for HDR
- Best integration with udev devices
- Add proton-ge
This commit is contained in:
Florian RICHER 2024-09-05 22:47:19 +02:00
parent 350f85904b
commit a4a651133b
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
6 changed files with 35 additions and 2 deletions

View file

@ -0,0 +1,22 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.system.apps.steam;
in
{
options.modules.system.apps.steam = {
enable = mkEnableOption ''
Enable steam with my custom configurations
'';
};
config = mkIf cfg.enable {
programs.steam = {
enable = true;
extraPackages = with pkgs; [ gamescope ];
extraCompatPackages = with pkgs; [ proton-ge-bin ];
};
hardware.steam-hardware.enable = true;
};
}