Skip to content

Commit

Permalink
Add DNS* options
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramblurr committed Apr 14, 2024
1 parent 957d7f5 commit aaf743f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions container.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,30 @@ let
property = "ContainerName";
};

dns = quadletUtils.mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "192.168.55.1" ];
description = "--dns";
property = "DNS";
};

dnsSearch = quadletUtils.mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "foo.com" ];
description = "--dns-search";
property = "DNSSearch";
};

dnsOption = quadletUtils.mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "ndots:1" ];
description = "--dns-option";
property = "DNSOption";
};

dropCapabilities = quadletUtils.mkOption {
type = types.listOf types.str;
default = [ ];
Expand Down

0 comments on commit aaf743f

Please sign in to comment.