diff --git a/flake.lock b/flake.lock index 68acd8a..0e13502 100644 --- a/flake.lock +++ b/flake.lock @@ -838,6 +838,7 @@ "nur": "nur", "plasma-manager": "plasma-manager", "sops-nix": "sops-nix", + "stable": "stable", "staging-next": "staging-next" } }, @@ -886,6 +887,22 @@ "type": "github" } }, + "stable": { + "locked": { + "lastModified": 1735264675, + "narHash": "sha256-MgdXpeX2GuJbtlBrH9EdsUeWl/yXEubyvxM1G+yO4Ak=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "d49da4c08359e3c39c4e27c74ac7ac9b70085966", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, "staging-next": { "locked": { "lastModified": 1735344853, diff --git a/flake.nix b/flake.nix index 33791ec..baf3318 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,7 @@ { description = "System Configuration @ cswimr 2024"; inputs = { + stable.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; staging-next.url = "github:NixOS/nixpkgs/staging-next"; home-manager = { @@ -63,6 +64,10 @@ ]; config.allowUnfree = true; }; + stablePkgs = import inputs.stable { + inherit system; + config.allowUnfree = true; + }; stagingNextPkgs = import inputs.staging-next { inherit system; config.allowUnfree = true; @@ -75,6 +80,7 @@ specialArgs = { inherit inputs; inherit pkgs; + inherit stablePkgs; inherit stagingNextPkgs; system = system; hostname = "eclipse"; @@ -140,6 +146,7 @@ extraSpecialArgs = { inherit inputs; inherit pkgs; + inherit stablePkgs; inherit stagingNextPkgs; system = system; hostname = "eclipse"; diff --git a/nixos/gaming.nix b/nixos/gaming.nix index 95ce355..df87bf0 100644 --- a/nixos/gaming.nix +++ b/nixos/gaming.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, stablePkgs, ... }: { programs.steam = { enable = true; @@ -48,7 +48,7 @@ ]; }) lunar-client - heroic + stablePkgs.heroic protonup-qt winetricks celeste64