diff --git a/hosts/desktopnix/fs.nix b/hosts/desktopnix/fs.nix index 5a7a878..89a5d79 100644 --- a/hosts/desktopnix/fs.nix +++ b/hosts/desktopnix/fs.nix @@ -1,5 +1,6 @@ { config, + nodes, lib, ... }: { @@ -43,4 +44,16 @@ fileSystems."/panzer/state".neededForBoot = true; boot.initrd.systemd.services."zfs-import-panzer".after = ["cryptsetup.target"]; boot.initrd.systemd.services."zfs-import-rpool".after = ["cryptsetup.target"]; + + wireguard.scrtiny-patrick.client.via = "elisabeth"; + + services.scrutiny = { + collector = { + enable = true; + settings = { + host.id = "desktopnix"; + api.endpoint = nodes.elisabeth.config.wireguard.scrtiny-patrick.ipv4; + }; + }; + }; } diff --git a/secrets/wireguard/scrtiny-patrick/keys/desktopnix.age b/secrets/wireguard/scrtiny-patrick/keys/desktopnix.age new file mode 100644 index 0000000..01d2e37 Binary files /dev/null and b/secrets/wireguard/scrtiny-patrick/keys/desktopnix.age differ diff --git a/secrets/wireguard/scrtiny-patrick/keys/desktopnix.pub b/secrets/wireguard/scrtiny-patrick/keys/desktopnix.pub new file mode 100644 index 0000000..f0b160c --- /dev/null +++ b/secrets/wireguard/scrtiny-patrick/keys/desktopnix.pub @@ -0,0 +1 @@ +U4eejBXdmTFo3qbvn48Ms3fs4V8y0XG/z0wWBo6MaDI= diff --git a/secrets/wireguard/scrtiny-patrick/psks/desktopnix+elisabeth.age b/secrets/wireguard/scrtiny-patrick/psks/desktopnix+elisabeth.age new file mode 100644 index 0000000..b5989fd --- /dev/null +++ b/secrets/wireguard/scrtiny-patrick/psks/desktopnix+elisabeth.age @@ -0,0 +1,17 @@ +age-encryption.org/v1 +-> X25519 mmZ3+RMnO2791ivofanY1owGkOSbL3KvZKNfNqikpBM +6eD0zf2/m/cNp08RmkX35qNHLfmqGxWKBIjSJFuwl2A +-> piv-p256 XTQkUA A8gRhmv6gvKdHokOersuhXZqa5D904Hdaw/EZXibvuRS +96sVeJs8IBJPjU1rJoh3exJwur23YB9xRaLZgAPfp8U +-> piv-p256 ZFgiIw A2XnV5Y0n3/RaZfyv+H59daA1cKnx3aoitQ32AfinJFX +AHDgjQXPGnrvshG6o7nSsrk+9Q6mp8ocMTqIBi+Icqo +-> piv-p256 5vmPtQ AzpfaoGQI+VvZ5dHuWGWlhU+yCKIkSZTU55yylggbkYs +iKhyHlc7hzlWGA1CFRH2XXC6QcTgsJbgJstd1zoYt2Y +-> piv-p256 ZFgiIw AtM7VhhsLOEDyDEmSBRaNwruIB3mbHKF9dRuwuQCvp8t +/JuhWw6pwT7egNpFMSa1fqafNFhlkMo579RqmZ9oPd8 +-> Q*-grease 3:\:? t}u-G|\G gLOzSYo +IsLVCpFfD8Re6wuwKQZjV+OIw31zjyvxHA7S1hd/7/14aS+L2LZN5SFhA69bc8XD +K/nygLT3Xt2B/Mw +--- sRjUlpNIlAOFhPARvIytOvAIIIW5R0uDyP7KHjWRKkI +C0k2p¨ý +5 €îœ»·ËPGu’Ôíê\fè»­iŠ|¨\7P£¥hd G˜RÁ\W˜“Y* Öo“ʼ,Rß÷ã×nÿƒëæß÷› \ No newline at end of file