useable wireguard

This commit is contained in:
foosinn 2020-06-14 22:23:29 +02:00
parent 6e36ac0d38
commit bd0508bd75
2 changed files with 3 additions and 0 deletions

View file

@ -83,4 +83,6 @@ precmd_user_func = "title"
security.sudo.extraConfig = '' security.sudo.extraConfig = ''
Defaults env_keep+=SSH_AUTH_SOCK Defaults env_keep+=SSH_AUTH_SOCK
''; '';
services.resolved.enable = true;
} }

View file

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
networking.wireguard.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wireguard wireguard
]; ];