nixos-config/modules/systemd/default.nix

20 lines
272 B
Nix
Raw Normal View History

2021-12-06 09:58:39 +01:00
{
2022-03-01 22:19:03 +01:00
pkgs,
config,
lib,
...
}:
with lib; let
cfg = config.eboskma.systemd;
in {
2021-12-06 09:58:39 +01:00
options.eboskma.systemd = {
enable = mkEnableOption "activate systemd settings";
};
config = mkIf (cfg.enable) {
services.resolved = {
enable = true;
};
};
}