| iirc Buckley changed the approach for the shim, while I found the following solution. In the flake.nix, I populate colmena from nixosConfigurations.
colmena = {
meta = {
description = "My personal machines";
nixpkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [ nur.overlay ];
};
};
} // builtins.mapAttrs (name: value: {
nixpkgs.system = value.config.nixpkgs.system;
imports = value._module.args.modules;
}) (self.nixosConfigurations);
But to have the deployment options available (and not conflicting with colmena), I had to add:
extraModules = [ colmena.nixosModules.deploymentOptions ];
in the nixpkgs.lib.nixosSystem call
|