2022-11-19 20:00:54 +01:00
|
|
|
{ config
|
2022-04-27 00:21:19 +02:00
|
|
|
, lib
|
|
|
|
, ...
|
2022-03-01 22:19:03 +01:00
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.eboskma.systemd;
|
2022-04-27 00:21:19 +02:00
|
|
|
in
|
|
|
|
{
|
2021-12-06 09:58:39 +01:00
|
|
|
options.eboskma.systemd = {
|
|
|
|
enable = mkEnableOption "activate systemd settings";
|
|
|
|
};
|
|
|
|
|
2022-05-03 18:17:38 +02:00
|
|
|
config = mkIf cfg.enable {
|
2021-12-06 09:58:39 +01:00
|
|
|
services.resolved = {
|
|
|
|
enable = true;
|
2024-01-10 21:55:23 +01:00
|
|
|
llmnr = "false"; # Deprecated and a security risk
|
2021-12-06 09:58:39 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|