diff options
| author | schererleander <leander@schererleander.de> | 2026-02-05 12:03:07 +0100 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2026-02-05 15:19:41 +0100 |
| commit | 3b13d9a2a367db84d48940460532c17a374bb488 (patch) | |
| tree | 599110a39c4baecf3991fe9a58d0103a43c38896 /modules/nixos/steam | |
| parent | 46aa4842b98d9215baca00060c233f386a0c2188 (diff) | |
feat(modules): use dendritic pattern
Diffstat (limited to 'modules/nixos/steam')
| -rw-r--r-- | modules/nixos/steam/default.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/modules/nixos/steam/default.nix b/modules/nixos/steam/default.nix deleted file mode 100644 index d708139..0000000 --- a/modules/nixos/steam/default.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -let - inherit (lib) mkEnableOption mkIf; - cfg = config.nx.steam; -in -{ - options.nx.steam = { - enable = mkEnableOption "Steam gaming platform"; - protontricks = mkEnableOption "protontricks" // { - default = true; - }; - gamescope = mkEnableOption "gamescope session compositor"; - }; - - config = mkIf cfg.enable { - programs.steam = { - enable = true; - protontricks.enable = cfg.protontricks; - gamescopeSession.enable = cfg.gamescope; - extraCompatPackages = [ pkgs.proton-ge-bin ]; - }; - }; -} |
