17 lines
312 B
Nix
17 lines
312 B
Nix
{ config, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.eboskma.systemd;
|
|
in
|
|
{
|
|
options.eboskma.systemd = {
|
|
enable = mkEnableOption "activate systemd settings";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services.resolved = {
|
|
enable = true;
|
|
llmnr = "false"; # Deprecated and a security risk
|
|
};
|
|
};
|
|
}
|