diff options
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 ]; }; |
