aboutsummaryrefslogtreecommitdiff
path: root/hosts/aptos/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-21 13:33:51 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-21 13:33:51 -0800
commitcd9c8ec5fdbe4874c7be95c80f8ab86999b30390 (patch)
tree513331627090ae863c064cf2662ba77906e6f54a /hosts/aptos/default.nix
parentsecrets: initial config and a first secret (diff)
downloadinfra-cd9c8ec5fdbe4874c7be95c80f8ab86999b30390.tar.gz
wireguard: module and peers configurations
Add a new module to automatically configure the peers for wireguard. The module needs a configuration file (in `configs/wireguard.toml`) which lists all the peers, their IP and and their public keys. The secret keys is encrypted as a secret with agenix. There's some initial documentation on how to use this setup.
Diffstat (limited to 'hosts/aptos/default.nix')
-rw-r--r--hosts/aptos/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/aptos/default.nix b/hosts/aptos/default.nix
index 64da2a5..1e79543 100644
--- a/hosts/aptos/default.nix
+++ b/hosts/aptos/default.nix
@@ -32,6 +32,7 @@
};
networking.wireless.iwd.enable = true;
+ networking.private-wireguard.enable = true;
services.thermald.enable = true;