diff --git a/flake.lock b/flake.lock index 5ba3dbe..8e1f4cc 100644 --- a/flake.lock +++ b/flake.lock @@ -1784,6 +1784,22 @@ } }, "nixpkgs_10": { + "locked": { + "lastModified": 1772542754, + "narHash": "sha256-WGV2hy+VIeQsYXpsLjdr4GvHv5eECMISX1zKLTedhdg=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "8c809a146a140c5c8806f13399592dbcb1bb5dc4", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_11": { "locked": { "lastModified": 1719082008, "narHash": "sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs=", @@ -2134,10 +2150,28 @@ "type": "github" } }, + "proton-cachyos": { + "inputs": { + "nixpkgs": "nixpkgs_10" + }, + "locked": { + "lastModified": 1772601901, + "narHash": "sha256-QN/2iE3gbqUH0p3lAEi40023PAireKB2IDPtLLTAINc=", + "owner": "powerofthe69", + "repo": "proton-cachyos-nix", + "rev": "1e5b1871a6ec6b0e4c24e92a01ed52212f1f932c", + "type": "github" + }, + "original": { + "owner": "powerofthe69", + "repo": "proton-cachyos-nix", + "type": "github" + } + }, "pyprland": { "inputs": { "flake-compat": "flake-compat_10", - "nixpkgs": "nixpkgs_10", + "nixpkgs": "nixpkgs_11", "pyproject-nix": "pyproject-nix", "systems": "systems_10" }, @@ -2201,6 +2235,7 @@ "nix-on-droid": "nix-on-droid", "nixpkgs": "nixpkgs_9", "note": "note", + "proton-cachyos": "proton-cachyos", "pyprland": "pyprland", "secrets": "secrets", "stylix": "stylix", diff --git a/flake.nix b/flake.nix index 253eeaf..0cf8150 100644 --- a/flake.nix +++ b/flake.nix @@ -152,6 +152,9 @@ # Cachy os kernel nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release"; + + # Proton cachyos + proton-cachyos.url = "github:powerofthe69/proton-cachyos-nix"; }; outputs = { diff --git a/modules/linux/nixos/gaming.nix b/modules/linux/nixos/gaming.nix index d4c0979..e6887e3 100644 --- a/modules/linux/nixos/gaming.nix +++ b/modules/linux/nixos/gaming.nix @@ -17,6 +17,9 @@ enable = true; protontricks.enable = true; localNetworkGameTransfers.openFirewall = true; + extraCompatPackages = with pkgs; [ + proton-cachyos-x86_64_v3 + ]; }; # Enable gamescope programs.gamescope = { diff --git a/modules/linux/nixos/nix-options.nix b/modules/linux/nixos/nix-options.nix index ea9c756..eafdde8 100644 --- a/modules/linux/nixos/nix-options.nix +++ b/modules/linux/nixos/nix-options.nix @@ -47,6 +47,7 @@ }) (import inputs.emacs-overlay) inputs.nix-cachyos-kernel.overlays.pinned + inputs.proton-cachyos.overlays.default ]; };