mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
nebula: Rename options for public key and certificate paths for clarity
This commit is contained in:
parent
10362bd42b
commit
21b4e04613
1 changed files with 3 additions and 3 deletions
|
|
@ -42,11 +42,11 @@ in
|
||||||
default = if cfg.routableAddress != null then 47141 else null;
|
default = if cfg.routableAddress != null then 47141 else null;
|
||||||
};
|
};
|
||||||
|
|
||||||
pubPath = lib.mkOption {
|
publicKeyPath = lib.mkOption {
|
||||||
type = lib.types.path;
|
type = lib.types.path;
|
||||||
default = "${self}/hosts/${hostname}/keys/nebula.pub";
|
default = "${self}/hosts/${hostname}/keys/nebula.pub";
|
||||||
};
|
};
|
||||||
certPath = lib.mkOption {
|
certificatePath = lib.mkOption {
|
||||||
type = lib.types.path;
|
type = lib.types.path;
|
||||||
default = "${self}/hosts/${hostname}/keys/nebula.crt";
|
default = "${self}/hosts/${hostname}/keys/nebula.crt";
|
||||||
};
|
};
|
||||||
|
|
@ -69,7 +69,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
ca = ./ca.crt;
|
ca = ./ca.crt;
|
||||||
cert = cfg.certPath;
|
cert = cfg.certificatePath;
|
||||||
key = config.sops.secrets."nebula/host-key".path;
|
key = config.sops.secrets."nebula/host-key".path;
|
||||||
|
|
||||||
listen.port = cfg.routablePort;
|
listen.port = cfg.routablePort;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue