wireguard
This commit is contained in:
parent
8e5d215275
commit
c753407691
5 changed files with 74 additions and 3 deletions
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue