mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/netbird: allow configuring dns
This commit is contained in:
parent
3288cbdd09
commit
d5bb5259e4
1 changed files with 3 additions and 2 deletions
|
@ -41,9 +41,10 @@ in {
|
||||||
documentation = [ "https://netbird.io/docs/" ];
|
documentation = [ "https://netbird.io/docs/" ];
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
path = with pkgs; [
|
||||||
|
openresolv
|
||||||
|
];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
AmbientCapabilities = [ "CAP_NET_ADMIN" ];
|
|
||||||
DynamicUser = true;
|
|
||||||
Environment = [
|
Environment = [
|
||||||
"NB_CONFIG=/var/lib/netbird/config.json"
|
"NB_CONFIG=/var/lib/netbird/config.json"
|
||||||
"NB_LOG_FILE=console"
|
"NB_LOG_FILE=console"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue