mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
resolved: Remove module as it's enabled by default when using networkd
This commit is contained in:
parent
121d7364f7
commit
9ea6397786
7 changed files with 15 additions and 29 deletions
|
|
@ -1,21 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
options.custom.services.resolved.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.services.resolved.enable {
|
||||
meta.ports =
|
||||
let
|
||||
ports = [
|
||||
53
|
||||
5353
|
||||
5355
|
||||
];
|
||||
in
|
||||
{
|
||||
tcp.list = ports;
|
||||
udp.list = ports;
|
||||
};
|
||||
|
||||
services.resolved.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue