nix-serve: use nix-serve-ng

This commit is contained in:
Rouven Seifert 2024-04-12 11:21:52 +02:00
parent c04bef7173
commit c534e2a8e1
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ config, pkgs, ... }:
let
domain = "cache.${config.networking.domain}";
in
@ -6,6 +6,7 @@ in
sops.secrets."nix-serve/key" = { };
services.nix-serve = {
enable = true;
package = pkgs.nix-serve-ng;
secretKeyFile = config.sops.secrets."nix-serve/key".path;
port = 5002;
};