module: thread hyperhive package directly — operators don't apply overlays
This commit is contained in:
parent
8dc9b24934
commit
4f91dfef99
6 changed files with 23 additions and 25 deletions
|
|
@ -63,10 +63,6 @@ Minimal `flake.nix` for a host that runs hive-c0re:
|
|||
modules = [
|
||||
hyperhive.nixosModules.hive-c0re
|
||||
({ ... }: {
|
||||
nixpkgs.overlays = [
|
||||
hyperhive.overlays.default
|
||||
hyperhive.overlays.claude-unstable
|
||||
];
|
||||
services.hive-c0re = {
|
||||
enable = true;
|
||||
hyperhiveFlake = "${hyperhive}";
|
||||
|
|
@ -102,5 +98,6 @@ nix flake update --update-input hyperhive
|
|||
sudo nixos-rebuild switch --flake .#<host>
|
||||
```
|
||||
|
||||
The host config also needs `hyperhive.overlays.default` applied — the
|
||||
module's default `package = pkgs.hyperhive` requires the overlay.
|
||||
No overlays on the host's `pkgs` — the module pulls hive-c0re's package
|
||||
straight from `hyperhive.packages.<system>.default`. Just import the
|
||||
module and the service is wired up.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue