Uses colmena package instead of overlay.

This commit is contained in:
Bailey Stevens 2023-09-21 17:54:02 -04:00
parent 6d519f2627
commit 2fc305c8bd

View file

@ -13,12 +13,8 @@
flake-utils.lib.eachDefaultSystem (system:
let
# nixpkgs for native system.
pkgs = import nixpkgs {
inherit system;
overlays = [
inputs.colmena.overlay
];
};
pkgs = import nixpkgs { inherit system; };
colmena = inputs.colmena.packages."${system}".colmena;
# Native VM config.
riversong = nixpkgs.lib.nixosSystem {
inherit pkgs;
@ -32,7 +28,7 @@
in rec {
# Install colmena in dev shell for deployment.
devShell = pkgs.mkShell {
packages = with pkgs; [ colmena ];
packages = [ colmena ];
};
# Run testing VM using `nix run`
packages.default = riversong.config.system.build.vm;