nixos-config/modules/systemd/default.nix
2021-12-06 09:58:39 +01:00

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;
};
};
}