use hostname files for nebula
This commit is contained in:
parent
d72878d820
commit
ff4f492ecd
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [ nebula ];
|
environment.systemPackages = with pkgs; [ nebula ];
|
||||||
services.nebula.networks.home = {
|
services.nebula.networks.home = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cert = "/var/lib/nebula/harrowhark.crt";
|
cert = "/var/lib/nebula/${config.networking.hostName}.crt";
|
||||||
key = "/var/lib/nebula/harrowhark.key";
|
key = "/var/lib/nebula/${config.networking.hostName}.key";
|
||||||
ca = "/var/lib/nebula/ca.crt";
|
ca = "/var/lib/nebula/ca.crt";
|
||||||
|
|
||||||
lighthouses = [ "172.16.0.1" ];
|
lighthouses = [ "172.16.0.1" ];
|
||||||
|
|
Loading…
Reference in a new issue