# Jovian-NixOS deck-mode configuration shared by all hosts running Steam # in gamescope (yarn, patiodeck). Host-specific settings (like # jovian.devices.steamdeck.enable) stay in the host's default.nix. { lib, username, inputs, ... }: { imports = [ ./desktop-steam-update.nix inputs.jovian-nixos.nixosModules.default ]; nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "steamdeck-hw-theme" "steam-jupiter-unwrapped" "steam" "steam-original" "steam-unwrapped" "steam-run" ]; jovian.steam = { enable = true; autoStart = true; desktopSession = "niri"; user = username; }; # jovian overrides the display manager; sddm is required services.displayManager.sddm.wayland.enable = true; # desktop-common.nix enables programs.gamescope which conflicts with # jovian's own gamescope wrapper programs.gamescope.enable = lib.mkForce false; }