Files
Nixos/modules/gaming/default.nix
T
Alexander 3bfc77d064 Add steam
2026-03-25 15:12:46 +01:00

20 lines
331 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.dov.gaming;
in {
options.dov.gaming = {
enable = mkEnableOption "gaming config";
};
config = mkIf cfg.enable {
programs.steam = {
enable = true;
protontricks.enable = true;
extraCompatPackages = with pkgs; [ proton-ge-bin ];
};
};
}