nixos-configs/devices/bbsteamie/modules/desktop/steam.nix
matt1432 4c915d47ed chore: update flake.lock
Flake Inputs:
• Updated input 'discord-overlay':
    'github:matt1432/discord-nightly-overlay/38e756a' (2024-09-10)
  → 'github:matt1432/discord-nightly-overlay/4bae358' (2024-09-12)

• Updated input 'home-manager':
    'github:nix-community/home-manager/e5fa72b' (2024-09-10)
  → 'github:nix-community/home-manager/da8406a' (2024-09-12)

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=155d440&submodules=1' (2024-09-10)
  → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=118be4d&submodules=1' (2024-09-12)

• Updated input 'jovian':
    'github:Jovian-Experiments/Jovian-NixOS/b9af8b3' (2024-09-10)
  → 'github:Jovian-Experiments/Jovian-NixOS/02cf60c' (2024-09-12)

• Updated input 'nix-gaming':
    'github:fufexan/nix-gaming/5e1b352' (2024-09-10)
  → 'github:fufexan/nix-gaming/3a97598' (2024-09-12)

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/574d1ea' (2024-09-06)
  → 'github:NixOS/nixpkgs/1355a0c' (2024-09-10)

• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/9004631' (2024-09-10)
  → 'github:nix-community/nixpkgs-wayland/5eedb68' (2024-09-12)

Docker Images:
• vegardit/gitea-act-runner dind-latest:
   sha256:674ef43377a9b802d53cbcf97ee128f95dd00cec817fb075950dcf7a618d880c
 → sha256:acc510a4754aa871dcaac69396055fea3117b5378a36efd9fbf3b3db542fa81a

• rssbridge/rss-bridge latest:
   sha256:833fa82afded7dd01514807009ccf66983bc21d874fc6acbe057a1fcda0f5e2d
 → sha256:fada58f35c97d4e50ae045176339722b69397a6803a46c00799a96160db84092

• ghcr.io/immich-app/immich-machine-learning v1.115.0:
   sha256:c0300d34fb275343c8e3b50796c9b10e6f33218e84c958386a218fbdceaeed65
 → sha256:66f13f7fb1af555f9f1767c3dd5d404b7e5f486a272dc73af9e6480f541463dc

• ghcr.io/immich-app/immich-server v1.115.0:
   sha256:df4ae6d2bf8aa3ebd6370b42a667a007c5e7452a1cd2ab4c22fbaff9a69ffcbc
 → sha256:544fcfc41ce97833e33126e5041fb3b821e3db7bf405b54ac06689247a170a90

• ghcr.io/linuxserver/bazarr latest:
   sha256:0364bb3d8d03cf0995036140322f6d0de78dd1924ba990499f67598f7c61ff62
 → sha256:16a30c1ef7412f3781dc9635bd42798399601a9750f871cb68e5efb5545ce0f5

• ghcr.io/linuxserver/prowlarr latest:
   sha256:9dd32e2270d174b07bd33a1f54e2b79e03ad944df62ed93efa08f4a381adc9a1
 → sha256:c1318191d5211ac7462c754422eafe350ed0de61c4160065a420896068ec1ccc

• ghcr.io/linuxserver/sabnzbd latest:
   sha256:66576a72ecb80c8d9e8ebffd4699995b29bfff4aefba4c6eae14baac3cbf6716
 → sha256:cf7743af338e1cdfc97f6e6c605c8c45d737a4f268ab96ba6cec565134cea5e1

Firefox Addons:
sponsorblock: 5.7 -> 5.8.1
2024-09-12 21:35:53 -04:00

79 lines
1.7 KiB
Nix

defaultSession: {
config,
lib,
pkgs,
self,
...
}: {
config = let
inherit (config.vars) mainUser;
cfg = config.programs.steam;
in {
# Normal Steam Stuff
programs.steam = {
enable = true;
protontricks.enable = true;
remotePlay.openFirewall = true;
extraCompatPackages = [
self.packages.${pkgs.system}.proton-ge-latest
];
};
# Jovian Steam settings
jovian.steam = {
# Steam > Settings > System > Enable Developer Mode
# Steam > Developer > CEF Remote Debugging
enable = true;
user = mainUser;
environment = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS =
lib.makeSearchPathOutput
"steamcompattool"
""
cfg.extraCompatPackages;
};
desktopSession = defaultSession;
};
# Decky settings
jovian.decky-loader = {
enable = true;
user = mainUser;
stateDir = "/home/${mainUser}/.local/share/decky"; # Keep scoped to user
# https://github.com/Jovian-Experiments/Jovian-NixOS/blob/1171169117f63f1de9ef2ea36efd8dcf377c6d5a/modules/decky-loader.nix#L80-L84
extraPackages = builtins.attrValues {
inherit
(pkgs)
curl
unzip
util-linux
gnugrep
readline
procps
pciutils
libpulseaudio
;
};
};
# Misc Packages
environment.systemPackages = [
pkgs.steam-rom-manager
pkgs.r2modman
self.packages.${pkgs.system}.protonhax
# FIXME: Ryujinx ACNH crashes on Vulkan
# https://github.com/Ryujinx/Ryujinx/issues/6708
pkgs.ryujinx
];
};
# For accurate stack trace
_file = ./steam.nix;
}