diff options
author | tv <tv@krebsco.de> | 2023-09-11 15:31:13 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-09-11 16:10:41 +0200 |
commit | 5370e0485788224126861e076110ac705013d2de (patch) | |
tree | 15838192c1ebf685733cbf39b3f3e37fd1ebd639 /tv/2configs/wiregrill.nix | |
parent | 8fc162ee3d9525a2b45346a1ca8f34ccb5ef971b (diff) |
treewide: don't reference <secrets> explicitly
Diffstat (limited to 'tv/2configs/wiregrill.nix')
-rw-r--r-- | tv/2configs/wiregrill.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tv/2configs/wiregrill.nix b/tv/2configs/wiregrill.nix index edf65e97..cace01a6 100644 --- a/tv/2configs/wiregrill.nix +++ b/tv/2configs/wiregrill.nix @@ -12,7 +12,7 @@ in optional (cfg.net.ip4 != null) cfg.net.ip4.addr ++ optional (cfg.net.ip6 != null) cfg.net.ip6.addr; listenPort = 51820; - privateKeyFile = (toString <secrets>) + "/wiregrill.key"; + privateKeyFile = "${config.krebs.secret.directory}/wiregrill.key"; allowedIPsAsRoutes = true; peers = mapAttrsToList (_: host: { |