Skip to content

Commit

Permalink
Replace nix-serve with harmonia on binarycache
Browse files Browse the repository at this point in the history
Signed-off-by: Tero Tervala <tero.tervala@unikie.com>
  • Loading branch information
tervis-unikie committed Mar 20, 2024
1 parent 30a7a14 commit 26efd34
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions services/binary-cache/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
# SPDX-FileCopyrightText: 2022-2024 TII (SSRC) and the Ghaf contributors
# SPDX-License-Identifier: Apache-2.0
{
config,
inputs,
pkgs,
...
}: {
{config, ...}: {
services = {
nix-serve = {
harmonia = {
enable = true;
package = inputs.nix-serve-ng.packages.${pkgs.system}.default;
secretKeyFile = config.sops.secrets.cache-sig-key.path;
signKeyPath = config.sops.secrets.cache-sig-key.path;
};
};
networking.firewall.allowedTCPPorts = [5000];
Expand Down

0 comments on commit 26efd34

Please sign in to comment.