diff options
| author | schererleander <leander@schererleander.de> | 2026-01-09 16:57:15 +0100 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2026-01-09 23:13:49 +0100 |
| commit | 3b5a73c436eb22e0cda59469263490705e149cb9 (patch) | |
| tree | ae3f20ca6008b11f71247dfc6e2df8218de9b95c /modules/hosts/steam/default.nix | |
| parent | ec45aae780da92e12cf82c5a32e336b14b7540ba (diff) | |
refactor: use flake-parts, change modules structure
Diffstat (limited to 'modules/hosts/steam/default.nix')
| -rw-r--r-- | modules/hosts/steam/default.nix | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/modules/hosts/steam/default.nix b/modules/hosts/steam/default.nix deleted file mode 100644 index 05a3703..0000000 --- a/modules/hosts/steam/default.nix +++ /dev/null @@ -1,39 +0,0 @@ -{ - config, - pkgs, - lib, - ... -}: -let - cfg = config.nx.steam; - inherit (lib) mkOption types mkIf; -in -{ - options.nx.steam = { - enable = mkOption { - description = "Digital distribution platfrom from vavle"; - type = types.bool; - default = false; - }; - useProtontricks = mkOption { - description = "Whether to enable protontricks"; - type = types.bool; - default = true; - }; - useGamescope = mkOption { - description = "SteamOS session compositing window manager"; - type = types.bool; - default = false; - }; - }; - config = mkIf cfg.enable { - programs.steam = { - enable = true; - protontricks.enable = cfg.useProtontricks; - gamescopeSession.enable = cfg.useGamescope; - extraCompatPackages = with pkgs; [ - proton-ge-bin - ]; - }; - }; -} |
