diff options
| author | Kj Tsanaktsidis <kjtsanaktsidis@groq.com> | 2026-01-09 17:02:14 +1100 |
|---|---|---|
| committer | Kj Tsanaktsidis <kjtsanaktsidis@groq.com> | 2026-01-09 17:06:16 +1100 |
| commit | 43bf226ea2a9e09d7221e7474473c4d8c4f2a29b (patch) | |
| tree | 477789d21002a88c4e26289a5ef9aa80f8608c71 | |
| parent | 497ef0c70d4cfb72dc4c8e978a99d5b08fbad2e4 (diff) | |
add colmena
| -rw-r--r-- | flake.lock | 145 | ||||
| -rw-r--r-- | flake.nix | 11 |
2 files changed, 136 insertions, 20 deletions
@@ -1,5 +1,27 @@ { "nodes": { + "colmena": { + "inputs": { + "flake-compat": "flake-compat", + "flake-utils": "flake-utils", + "nix-github-actions": "nix-github-actions", + "nixpkgs": "nixpkgs", + "stable": "stable" + }, + "locked": { + "lastModified": 1762034856, + "narHash": "sha256-QVey3iP3UEoiFVXgypyjTvCrsIlA4ecx6Acaz5C8/PQ=", + "owner": "zhaofengli", + "repo": "colmena", + "rev": "349b035a5027f23d88eeb3bc41085d7ee29f18ed", + "type": "github" + }, + "original": { + "owner": "zhaofengli", + "repo": "colmena", + "type": "github" + } + }, "crane": { "locked": { "lastModified": 1765145449, @@ -21,7 +43,7 @@ "determinate-nixd-aarch64-linux": "determinate-nixd-aarch64-linux", "determinate-nixd-x86_64-linux": "determinate-nixd-x86_64-linux", "nix": "nix", - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs_3" }, "locked": { "lastModified": 1766549083, @@ -118,6 +140,22 @@ "flake-compat": { "flake": false, "locked": { + "lastModified": 1650374568, + "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "b4a34015c698c7793d592d66adbab377907a2be8", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_2": { + "flake": false, + "locked": { "lastModified": 1696426674, "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", "owner": "edolstra", @@ -131,7 +169,7 @@ "type": "github" } }, - "flake-compat_2": { + "flake-compat_3": { "flake": false, "locked": { "lastModified": 1761588595, @@ -189,9 +227,24 @@ "type": "github" } }, + "flake-utils": { + "locked": { + "lastModified": 1659877975, + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "git-hooks-nix": { "inputs": { - "flake-compat": "flake-compat", + "flake-compat": "flake-compat_2", "gitignore": [ "determinate", "nix" @@ -244,11 +297,11 @@ ] }, "locked": { - "lastModified": 1767850628, - "narHash": "sha256-D3QzdIT11J66I4mzwmIpAGLzPAcbCS2VaKN8fmOe6+E=", + "lastModified": 1767910483, + "narHash": "sha256-MOU5YdVu4DVwuT5ztXgQpPuRRBjSjUGIdUzOQr9iQOY=", "owner": "nix-community", "repo": "home-manager", - "rev": "8c8a16d41353a174767c38b962359b51a56ca02e", + "rev": "82fb7dedaad83e5e279127a38ef410bcfac6d77c", "type": "github" }, "original": { @@ -286,7 +339,7 @@ "inputs": { "flake-parts": "flake-parts", "git-hooks-nix": "git-hooks-nix", - "nixpkgs": "nixpkgs", + "nixpkgs": "nixpkgs_2", "nixpkgs-23-11": "nixpkgs-23-11", "nixpkgs-regression": "nixpkgs-regression" }, @@ -303,6 +356,27 @@ "url": "https://flakehub.com/f/DeterminateSystems/nix-src/%2A" } }, + "nix-github-actions": { + "inputs": { + "nixpkgs": [ + "colmena", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1729742964, + "narHash": "sha256-B4mzTcQ0FZHdpeWcpDYPERtyjJd/NIuaQ9+BV1h+MpA=", + "owner": "nix-community", + "repo": "nix-github-actions", + "rev": "e04df33f62cdcf93d73e9a04142464753a16db67", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix-github-actions", + "type": "github" + } + }, "nix-vm-test": { "inputs": { "nixpkgs": [ @@ -394,16 +468,18 @@ }, "nixpkgs": { "locked": { - "lastModified": 1761597516, - "narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=", - "rev": "daf6dc47aa4b44791372d6139ab7b25269184d55", - "revCount": 811874, - "type": "tarball", - "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2505.811874%2Brev-daf6dc47aa4b44791372d6139ab7b25269184d55/019a3494-3498-707e-9086-1fb81badc7fe/source.tar.gz" + "lastModified": 1750134718, + "narHash": "sha256-v263g4GbxXv87hMXMCpjkIxd/viIF7p3JpJrwgKdNiI=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "9e83b64f727c88a7711a2c463a7b16eedb69a84c", + "type": "github" }, "original": { - "type": "tarball", - "url": "https://flakehub.com/f/NixOS/nixpkgs/0.2505" + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" } }, "nixpkgs-23-11": { @@ -456,11 +532,11 @@ }, "nixpkgs-stable-release": { "locked": { - "lastModified": 1767927480, - "narHash": "sha256-OLdIz38tsFp1aXt8GsJ40s0/jxSkhlqftuDE7LvuhK4=", + "lastModified": 1767936624, + "narHash": "sha256-DTLvOKfRxUBaQgxtuai66w7218p4KRwaOr3y9wQSP9c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "35bdbbce4d6e84baa7df6544d6127db8dd7fbaef", + "rev": "56b963c3c065c0eb35ebafe8f7dfc8258b6089a2", "type": "github" }, "original": { @@ -488,6 +564,20 @@ }, "nixpkgs_2": { "locked": { + "lastModified": 1761597516, + "narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=", + "rev": "daf6dc47aa4b44791372d6139ab7b25269184d55", + "revCount": 811874, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2505.811874%2Brev-daf6dc47aa4b44791372d6139ab7b25269184d55/019a3494-3498-707e-9086-1fb81badc7fe/source.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://flakehub.com/f/NixOS/nixpkgs/0.2505" + } + }, + "nixpkgs_3": { + "locked": { "lastModified": 1766314097, "narHash": "sha256-laJftWbghBehazn/zxVJ8NdENVgjccsWAdAqKXhErrM=", "rev": "306ea70f9eb0fb4e040f8540e2deab32ed7e2055", @@ -502,7 +592,7 @@ }, "pre-commit": { "inputs": { - "flake-compat": "flake-compat_2", + "flake-compat": "flake-compat_3", "gitignore": "gitignore", "nixpkgs": [ "lanzaboote", @@ -525,6 +615,7 @@ }, "root": { "inputs": { + "colmena": "colmena", "determinate": "determinate", "disko": "disko", "home-manager": "home-manager", @@ -577,6 +668,22 @@ "type": "github" } }, + "stable": { + "locked": { + "lastModified": 1750133334, + "narHash": "sha256-urV51uWH7fVnhIvsZIELIYalMYsyr2FCalvlRTzqWRw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "36ab78dab7da2e4e27911007033713bab534187b", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-25.05", + "repo": "nixpkgs", + "type": "github" + } + }, "treefmt-nix": { "inputs": { "nixpkgs": [ @@ -15,8 +15,9 @@ inputs.lanzaboote.url = "github:nix-community/lanzaboote/v1.0.0"; inputs.lanzaboote.inputs.nixpkgs.follows = "nixpkgs-stable"; inputs.determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*"; + inputs.colmena.url = "github:zhaofengli/colmena"; - outputs = { self, nixpkgs-stable, nixos-anywhere, lanzaboote, ... }@inputs: + outputs = { self, nixpkgs-stable, nixos-anywhere, lanzaboote, colmena, ... }@inputs: let nixpkgs = nixpkgs-stable; systems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ]; @@ -31,6 +32,13 @@ ]; }; + colmenaHive = colmena.lib.makeHive { + meta.nixpkgs = nixpkgs; + labsrv01 = { + nixosConfiguration = self.nixosConfigurations.labsrv01; + }; + }; + packages = forAllSystems (system: let pkgs = nixpkgs.legacyPackages.${system}; @@ -65,6 +73,7 @@ pkgs.ruby pkgs.age pkgs.mkpasswd + inputs.colmena.packages.${system}.colmena self.packages.${system}.nixos-update ]; }; |
