nix-serve: use nix-serve-ng
This commit is contained in:
parent
c04bef7173
commit
c534e2a8e1
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue