Compare commits

..
2 changed files with 36 additions and 40 deletions

50
flake.lock generated
View file

@ -373,11 +373,11 @@
]
},
"locked": {
"lastModified": 1785946372,
"narHash": "sha256-JrhXaFbDW4KEKmLXb8q3x/D62L3emJw/TxvSvaCKR3k=",
"lastModified": 1785785107,
"narHash": "sha256-WbzeC7Mq9uaUP43EdMmLkOycZmUgY/wUsh6tq4LJHrc=",
"ref": "refs/heads/main",
"rev": "f798662396f8d19f5634b400d0a460103e934d10",
"revCount": 3317,
"rev": "f707c60f900fb629799fd50d248669c42e62b78c",
"revCount": 3263,
"type": "git",
"url": "https://forge.darkest.space/hyperhive/hyperhive.git"
},
@ -450,11 +450,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1785857305,
"narHash": "sha256-25q05zpF1sqOCxPPUG9DPPGd+EDW7SiAOWCzBWRS7r0=",
"lastModified": 1785753837,
"narHash": "sha256-Lyy16y+SnRqM+vwODCWYYwwvYkKMPPpc1p6l4wevR0M=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "9ee3e13b60643448228353097880521658b2fe0e",
"rev": "3c93dc3656160f3aedb21d3acf82b5dfe868a539",
"type": "github"
},
"original": {
@ -503,11 +503,11 @@
]
},
"locked": {
"lastModified": 1785898908,
"narHash": "sha256-UPMYwEyyh6QhbnXyIlpIi0H9454Ow/eOOOSkRx3Hxkk=",
"lastModified": 1785728078,
"narHash": "sha256-gkBNQjZUlaZ7a0y0FD9iuEHKBaG547/iLLznEEBIuHs=",
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"rev": "b510fc22aa22ad079592c5adb46d547a37def055",
"rev": "5e4228d22f43e590ab1f58fc4da3e337c3111fe7",
"type": "github"
},
"original": {
@ -634,11 +634,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1785858998,
"narHash": "sha256-fKCq5jphd6l/Ms6gc3dptkw/TcKLYub9lQE5g6rbbkc=",
"lastModified": 1785734586,
"narHash": "sha256-ODZkEK9Gy50yg6h98u7KkitZ3oc/uuTFK00bh1CRdNA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "04607e1165ac22c5fde6dcc54c9e0b3c0487c555",
"rev": "531670d871c0e29724a02f3cbcac170adc65b58c",
"type": "github"
},
"original": {
@ -679,11 +679,11 @@
]
},
"locked": {
"lastModified": 1785944985,
"narHash": "sha256-PMcEXUdzVtXFUThHwjnK3pGtcOPE3uNKfOd6oON093k=",
"lastModified": 1785784727,
"narHash": "sha256-zJ4IQVqEHsZIKF0qMeI9HI4lgOVLe7RBxdua09cte8Q=",
"owner": "nix-community",
"repo": "NUR",
"rev": "09ca0ebbc7f35b626aabad5a4d31f12b2f049776",
"rev": "1cf78d73fa765d346bab3ecd959bb7bfd885a853",
"type": "github"
},
"original": {
@ -871,11 +871,11 @@
"tinted-zed": "tinted-zed"
},
"locked": {
"lastModified": 1785795542,
"narHash": "sha256-f8itgyKF7J1i0EYhKf/eSrNfnqUR5OqR05Da3zP3UDc=",
"lastModified": 1785677223,
"narHash": "sha256-3b7nQjZtdjawE+9Hreelj21B9Ef0XIoWLOsoPfv8Umk=",
"owner": "nix-community",
"repo": "stylix",
"rev": "bd34c34aecf7e9ca4f4c214ef69192c87588c55f",
"rev": "2cb783b643c6655a01f684f272448690c9a1f529",
"type": "github"
},
"original": {
@ -992,11 +992,11 @@
]
},
"locked": {
"lastModified": 1785945821,
"narHash": "sha256-NLSyTCW4K4ofhNBllt3omPasm6QpralXH1DBZOc91Dw=",
"lastModified": 1785360170,
"narHash": "sha256-XE1lKgQ3eIO3E7zWryqcRsax+mYXod/5RHBn4YaR9YE=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "ae7910970dddc408fe6ab1c8e4b277bb21d72dc0",
"rev": "d1187f8bc71fb8aab02395869ec3f5c1920f75c0",
"type": "github"
},
"original": {
@ -1019,11 +1019,11 @@
]
},
"locked": {
"lastModified": 1785850678,
"narHash": "sha256-Odd4fQ48Xm5SFfK6/NdE3/QcqLsxliuKOy3LisJ6ILw=",
"lastModified": 1785598680,
"narHash": "sha256-/S31ZiXco1m0HCtRjr55Wt81kt33zOxfjs2EP2h7a2o=",
"owner": "vibec0re",
"repo": "trollshell",
"rev": "b78d6592f42d06665377de372196703d2a0b68bb",
"rev": "4e9d0a2bcb3f352eb9e301e0aaee97387db0bf5a",
"type": "github"
},
"original": {

View file

@ -33,12 +33,17 @@ in
config.services.hyperhive = lib.mkIf cfg.enable {
enable = true;
swarm = {
name = "constellation";
domain = "constellation.darkest.space";
enableRequiredServices = true;
forge.ci.enable = true;
peers = {
swarmName = "constellation";
ruthless = true;
domain = "${cfg.hiveName}.darkest.space";
hiveName = cfg.hiveName;
matrix.enable = true;
forge.ci.enable = true;
gateway = {
localHostsEntry = true;
openFirewall = true;
};
swarm.peers = {
"umbra.darkest.space" = {
certFingerprint = "sha256:ae68d089e0155978fff7a9963bfb1e123ed645e7c9f93a4b4bb3e278c5f32a27";
};
@ -46,14 +51,6 @@ in
certFingerprint = "sha256:63e026f8682d6b5496f3eec99edb2ef62a8999c6d767228051e6e057f8cd90c6";
};
};
};
ruthless = true;
domain = "${cfg.hiveName}.darkest.space"; # backcompat not a subdomain
hiveName = cfg.hiveName;
gateway = {
localHostsEntry = true;
openFirewall = true;
};
otel = {
enable = true;
endpoint = "https://exponentials.vibec0re.mov/otel";
@ -63,7 +60,6 @@ in
inherit adminUsers;
agentMemoryMax = "6G";
claudeCodePackage = pkgs.unstable.claude-code;
buildSlots = 2;
};
};