diff options
| author | Mel <mel@rnrd.eu> | 2025-07-25 16:11:54 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-07-25 16:11:54 +0200 |
| commit | dd628e299db5c084d9fb787df9c61603643cc8c8 (patch) | |
| tree | f6bacd8cd215a7dd6b2f28357ed64f9e95255b7f | |
| parent | ce740c588c63ff23f777f5672fdc6cdef8ea7c3b (diff) | |
| download | minerals-dd628e299db5c084d9fb787df9c61603643cc8c8.tar.zst minerals-dd628e299db5c084d9fb787df9c61603643cc8c8.zip | |
Rename wg-gda interface to wg_hexa
Signed-off-by: Mel <mel@rnrd.eu>
| -rw-r--r-- | modules/work/wireguard.nix | 8 | ||||
| -rw-r--r-- | secrets/secrets.nix | 2 | ||||
| -rw-r--r-- | secrets/wg_hexa.conf.age (renamed from secrets/wg-gda.conf.age) | bin | 875 -> 875 bytes |
3 files changed, 5 insertions, 5 deletions
diff --git a/modules/work/wireguard.nix b/modules/work/wireguard.nix index bfcf8dd..a025e6d 100644 --- a/modules/work/wireguard.nix +++ b/modules/work/wireguard.nix @@ -1,12 +1,12 @@ { config, ... }: { - age.secrets."wg-gda.conf" = { - file = ../../secrets/wg-gda.conf.age; + age.secrets."wg_hexa.conf" = { + file = ../../secrets/wg_hexa.conf.age; }; - networking.wg-quick.interfaces."wg-gda" = { + networking.wg-quick.interfaces."wg_hexa" = { autostart = false; # no need to start the interface during boot. - configFile = config.age.secrets."wg-gda.conf".path; + configFile = config.age.secrets."wg_hexa.conf".path; }; } diff --git a/secrets/secrets.nix b/secrets/secrets.nix index eefcebd..7e79cbd 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -11,7 +11,7 @@ in { "password.age".publicKeys = allSystems ++ allUsers; - "wg-gda.conf.age".publicKeys = [ + "wg_hexa.conf.age".publicKeys = [ moissanite ] ++ allUsers; } diff --git a/secrets/wg-gda.conf.age b/secrets/wg_hexa.conf.age index d3eeb7a..d3eeb7a 100644 --- a/secrets/wg-gda.conf.age +++ b/secrets/wg_hexa.conf.age Binary files differ |
