nix-serve: use nix-serve-ng
This commit is contained in:
parent
c04bef7173
commit
c534e2a8e1
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
domain = "cache.${config.networking.domain}";
|
domain = "cache.${config.networking.domain}";
|
||||||
in
|
in
|
||||||
|
@ -6,6 +6,7 @@ in
|
||||||
sops.secrets."nix-serve/key" = { };
|
sops.secrets."nix-serve/key" = { };
|
||||||
services.nix-serve = {
|
services.nix-serve = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = pkgs.nix-serve-ng;
|
||||||
secretKeyFile = config.sops.secrets."nix-serve/key".path;
|
secretKeyFile = config.sops.secrets."nix-serve/key".path;
|
||||||
port = 5002;
|
port = 5002;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue