diff --git a/flake.lock b/flake.lock index 5e729ab7..452a6638 100644 --- a/flake.lock +++ b/flake.lock @@ -284,6 +284,22 @@ "type": "github" } }, + "release-2311": { + "locked": { + "lastModified": 1702509556, + "narHash": "sha256-trm+c/erCSRe+Mi2fAaI975+jrU8uhmUznx8py6N9po=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "c15f414581b4eb4113eed52ed303a1e62771fb6f", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "release-23.11", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { "agenix": "agenix", @@ -296,6 +312,7 @@ "nixos-flake": "nixos-flake", "nixpkgs": "nixpkgs", "nixpkgs-2205": "nixpkgs-2205", + "release-2311": "release-2311", "triton-vmtools": "triton-vmtools", "unstable": "unstable" } diff --git a/flake.nix b/flake.nix index 7cb4db75..13cb0716 100644 --- a/flake.nix +++ b/flake.nix @@ -4,6 +4,7 @@ nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + release-2311.url = "github:nixos/nixpkgs/release-23.11"; nixpkgs-2205.url = "github:nixos/nixpkgs/nixos-22.05"; nix-darwin.url = "github:lnl7/nix-darwin/master"; diff --git a/overlays/default.nix b/overlays/default.nix index 4f7efb86..37a73400 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -7,8 +7,15 @@ nixosModules = rec { overlays = ({ ... }: { nixpkgs.overlays = [ - (final: prev: { + (final: prev: + let + release-2311 = import inputs.release-2311 { + system = prev.system; + }; + in + { element-themes = prev.callPackage ./pkgs/element-themes { inherit (inputs) element-themes; }; + forgejo = release-2311.forgejo; }) ]; });