nixos-config/modules/systemd/default.nix

19 lines
272 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;
};
};
}