diff --git a/configuration/modules/system/programs.nix b/configuration/modules/system/programs.nix index f1ee6e1..f929fb5 100644 --- a/configuration/modules/system/programs.nix +++ b/configuration/modules/system/programs.nix @@ -1,6 +1,9 @@ -{ +{inputs, ...}: { programs = { - steam.enable = true; + steam = { + enable = true; + extraCompatPackages = [inputs.nix-proton-cachyos.packages.x86_64-linux.proton-cachyos]; + }; bash.blesh.enable = true; nix-ld.enable = true; }; diff --git a/flake.lock b/flake.lock index 58bf49e..a6c5ce8 100644 --- a/flake.lock +++ b/flake.lock @@ -173,18 +173,36 @@ "type": "github" } }, + "nix-proton-cachyos": { + "inputs": { + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1738731353, + "narHash": "sha256-opfBquff3X73DhLC4io2FqzhSrlnDOBLWrnBpGqLAHU=", + "owner": "kimjongbing", + "repo": "nix-proton-cachyos", + "rev": "bad753f8f8d19aecd753bef3f764562ad15d6a9b", + "type": "github" + }, + "original": { + "owner": "kimjongbing", + "repo": "nix-proton-cachyos", + "type": "github" + } + }, "nixpkgs": { "locked": { - "lastModified": 1773389992, - "narHash": "sha256-wvfdLLWJ2I9oEpDd9PfMA8osfIZicoQ5MT1jIwNs9Tk=", + "lastModified": 1730272153, + "narHash": "sha256-B5WRZYsRlJgwVHIV6DvidFN7VX7Fg9uuwkRW9Ha8z+w=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c06b4ae3d6599a672a6210b7021d699c351eebda", + "rev": "2d2a9ddbe3f2c00747398f3dc9b05f7f2ebb0f53", "type": "github" }, "original": { "owner": "nixos", - "ref": "nixos-unstable", + "ref": "nixpkgs-unstable", "repo": "nixpkgs", "type": "github" } @@ -205,6 +223,22 @@ "type": "github" } }, + "nixpkgs_2": { + "locked": { + "lastModified": 1773389992, + "narHash": "sha256-wvfdLLWJ2I9oEpDd9PfMA8osfIZicoQ5MT1jIwNs9Tk=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "c06b4ae3d6599a672a6210b7021d699c351eebda", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nvf": { "inputs": { "flake-compat": "flake-compat", @@ -255,7 +289,8 @@ "inputs": { "home-manager": "home-manager", "niri-flake": "niri-flake", - "nixpkgs": "nixpkgs", + "nix-proton-cachyos": "nix-proton-cachyos", + "nixpkgs": "nixpkgs_2", "nvf": "nvf", "quickshell": "quickshell", "zen-browser": "zen-browser" diff --git a/flake.nix b/flake.nix index 20bee45..1a5cbb3 100644 --- a/flake.nix +++ b/flake.nix @@ -2,6 +2,7 @@ description = "My nixos dots :3"; inputs = { nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + nix-proton-cachyos.url = "github:kimjongbing/nix-proton-cachyos"; nvf = { url = "github:notashelf/nvf/007f14a2c8d67568f4655654b401871920d73011"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/home/home.nix b/home/home.nix index 8390587..9023464 100644 --- a/home/home.nix +++ b/home/home.nix @@ -54,6 +54,5 @@ pkgs.discord pkgs.heroic pkgs.prismlauncher - pkgs.protonup-ng ]; }