modules/wireguard: add openresolv because wg-quick moment nixos
This commit is contained in:
parent
2a15d327fa
commit
03f82e2c63
1 changed files with 5 additions and 0 deletions
|
@ -16,5 +16,10 @@ in {
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
# todo declaritivly setting it up
|
# todo declaritivly setting it up
|
||||||
networking.wireguard.enable = true;
|
networking.wireguard.enable = true;
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
openresolv
|
||||||
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue