diff --git a/flake.lock b/flake.lock index 3be38bd..1942ee4 100644 --- a/flake.lock +++ b/flake.lock @@ -53,6 +53,22 @@ "type": "github" } }, + "nixpkgs-2405": { + "locked": { + "lastModified": 1731652201, + "narHash": "sha256-XUO0JKP1hlww0d7mm3kpmIr4hhtR4zicg5Wwes9cPMg=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "c21b77913ea840f8bcf9adf4c41cecc2abffd38d", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-24.05", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-unstable": { "locked": { "lastModified": 1729665710, @@ -74,6 +90,7 @@ "home-manager": "home-manager", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", + "nixpkgs-2405": "nixpkgs-2405", "nixpkgs-unstable": "nixpkgs-unstable" } } diff --git a/flake.nix b/flake.nix index aa34b53..898b9a9 100644 --- a/flake.nix +++ b/flake.nix @@ -7,11 +7,12 @@ nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + + nixpkgs-2405.url = "github:nixos/nixpkgs/nixos-24.05"; }; outputs = { - home-manager, nixos-hardware, nixpkgs, self, diff --git a/home/opdavies/default.nix b/home/opdavies/default.nix index 67eefa1..a3c3ae6 100644 --- a/home/opdavies/default.nix +++ b/home/opdavies/default.nix @@ -67,7 +67,8 @@ in pocket-casts xcape xsel - zoom-us + + pkgs.nixpkgs-2405.zoom-us ] ); diff --git a/lib/nixos/configuration.nix b/lib/nixos/configuration.nix index 0b81671..00871e0 100644 --- a/lib/nixos/configuration.nix +++ b/lib/nixos/configuration.nix @@ -22,6 +22,7 @@ in overlays = [ outputs.overlays.additions outputs.overlays.modifications + outputs.overlays.stable-packages outputs.overlays.unstable-packages ]; }; diff --git a/overlays/default.nix b/overlays/default.nix index a9643c2..f3fb4e3 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -11,6 +11,13 @@ modifications = final: prev: { }; + stable-packages = final: _prev: { + nixpkgs-2405 = import inputs.nixpkgs-2405 { + config.allowUnfree = true; + system = final.system; + }; + }; + unstable-packages = final: _prev: { unstable = import inputs.nixpkgs-unstable { config.allowUnfree = true;