diff --git a/flake.lock b/flake.lock index 9137f57..7c5e646 100644 --- a/flake.lock +++ b/flake.lock @@ -704,6 +704,22 @@ } }, "nixpkgs_3": { + "locked": { + "lastModified": 1778443072, + "narHash": "sha256-zi7/fsqM/kFdNuED//4WOCUtezGtKKqRNORjMvfwjnA=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "da5ad661ba4e5ef59ba743f0d112cbc30e474f32", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_4": { "locked": { "lastModified": 1767799921, "narHash": "sha256-r4GVX+FToWVE2My8VVZH4V0pTIpnu2ZE8/Z4uxGEMBE=", @@ -767,12 +783,31 @@ "type": "github" } }, + "proton-cachyos-nix": { + "inputs": { + "nixpkgs": "nixpkgs_3" + }, + "locked": { + "lastModified": 1778652748, + "narHash": "sha256-6xwY6bOS0dC1+W9rSzfpu7eQPYyFHR55e06uHkDzoLo=", + "owner": "powerofthe69", + "repo": "proton-cachyos-nix", + "rev": "29103f9fac8fa7f2b682315baa7d548863ca04cb", + "type": "github" + }, + "original": { + "owner": "powerofthe69", + "repo": "proton-cachyos-nix", + "type": "github" + } + }, "root": { "inputs": { "home-manager-stable": "home-manager-stable", "hyprland": "hyprland", "nix-cachyos-kernel": "nix-cachyos-kernel", "nixpkgs-stable": "nixpkgs-stable", + "proton-cachyos-nix": "proton-cachyos-nix", "stylix": "stylix", "zen-browser": "zen-browser" } @@ -786,7 +821,7 @@ "firefox-gnome-theme": "firefox-gnome-theme", "flake-parts": "flake-parts_2", "gnome-shell": "gnome-shell", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs_4", "nur": "nur", "systems": "systems_2", "tinted-foot": "tinted-foot", diff --git a/flake.nix b/flake.nix index 08f7325..628f4ee 100644 --- a/flake.nix +++ b/flake.nix @@ -18,6 +18,8 @@ nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release"; + proton-cachyos-nix.url = "github:powerofthe69/proton-cachyos-nix"; + # Pin Hyprland to upstream so we get the 0.52.2+ fixes ahead of # nixos-25.11's slower bump cadence. Doesn't follow our nixpkgs — # upstream needs newer stdenv than 25.11 ships. @@ -36,6 +38,7 @@ , nix-cachyos-kernel , hyprland , stylix + , proton-cachyos-nix , ... } @ inputs: let diff --git a/hosts/FredOS-Gaming.nix b/hosts/FredOS-Gaming.nix index 99ab652..105a1c3 100644 --- a/hosts/FredOS-Gaming.nix +++ b/hosts/FredOS-Gaming.nix @@ -33,6 +33,9 @@ programs.steam = { enable = true; remotePlay.openFirewall = true; + extraCompatPackages = [ + inputs.proton-cachyos-nix.packages.${pkgs.stdenv.hostPlatform.system}.proton-cachyos-x86_64-v3 + ]; package = pkgs.steam.override { extraPkgs = pkgs: with pkgs; [ adwaita-icon-theme