wireguard

This commit is contained in:
Squibid 2025-11-26 13:40:14 -05:00
parent 8e5d215275
commit c753407691
Signed by: squibid
GPG key ID: BECE5684D3C4005D
5 changed files with 74 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ ... }:
{ config, ... }:
{
imports = [
./hardware-configuration.nix # Include the results of the hardware scan.
@ -9,4 +9,11 @@
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
wireguard = {
enable = true;
# pub: gq0/fX4EF/3jUNJSW5C3ythZjMVAWYqQdAVRw1eUC1Y=
privateKeyFile = config.sops.secrets."wireguard/crayon".path;
externalInterface = "enp1s0";
};
}