16 lines
264 B
Nix
16 lines
264 B
Nix
{ pkgs, 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;
|
|
};
|
|
};
|
|
}
|