From c1cc7b1edc3db7e67788e66f0f674d81dff06249 Mon Sep 17 00:00:00 2001 From: Markus Schmidl Date: Sat, 15 Jun 2024 02:43:32 +0200 Subject: [PATCH] notice-me-senpai: use nixpkgs 23.11 --- flake.lock | 17 +++++++++++++++++ flake.nix | 5 ++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 5e2ab44..66897ec 100644 --- a/flake.lock +++ b/flake.lock @@ -544,6 +544,22 @@ "type": "github" } }, + "nixpkgs-2311": { + "locked": { + "lastModified": 1718229064, + "narHash": "sha256-ZFav8A9zPNfjZg/wrxh1uZeMJHELRfRgFP+meq01XYk=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "5c2ec3a5c2ee9909904f860dadc19bc12cd9cc44", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-23.11", + "repo": "nixpkgs", + "type": "github" + } + }, "nixpkgs-stable": { "locked": { "lastModified": 1717880976, @@ -735,6 +751,7 @@ "microvm": "microvm", "naersk": "naersk_4", "nixpkgs": "nixpkgs_6", + "nixpkgs-2311": "nixpkgs-2311", "private-flake-overlays": "private-flake-overlays", "r09-receiver": "r09-receiver", "sops-nix": "sops-nix", diff --git a/flake.nix b/flake.nix index 9beab91..ffea6fc 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,7 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; + nixpkgs-2311.url = "github:NixOS/nixpkgs/nixos-23.11"; # naersk and flake utils are not used by this flake directly, but needed # for the follows in all the other ones. @@ -122,6 +123,7 @@ , kindergarten , microvm , nixpkgs + , nixpkgs-2311 , sops-nix , lizard , bureaucrat @@ -291,7 +293,8 @@ # here we evaluate over all nixos configurations making this extremely slow apps."x86_64-linux" = (import ./pkgs/deployment.nix { inherit self pkgs lib; }); - nixosConfigurations = lib.attrsets.mapAttrs (name: value: nixpkgs.lib.nixosSystem value) unevaluatedNixosConfigurations; + nixosConfigurations = lib.attrsets.mapAttrs (name: value: + (if (name == "notice-me-senpai") then (nixpkgs-2311.lib.nixosSystem value) else (nixpkgs.lib.nixosSystem value))) unevaluatedNixosConfigurations; hydraJobs = let