62c70dab19
The diff shows comprehensive code cleanup and formatting improvements across 18 files, including cleaner argument structures, additional package configurations, and improved formatting in the `home/terminal/software/git.nix` hook script.
26 lines
397 B
Nix
26 lines
397 B
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}:
|
|
# Microsoft Defender for Endpoint
|
|
#
|
|
# References:
|
|
# - https://github.com/epetousis/nix-mdatp
|
|
let
|
|
cfg = config.work.mdatp;
|
|
in {
|
|
imports = [
|
|
inputs.mdatp.nixosModules.mdatp
|
|
];
|
|
|
|
options.work.mdatp = {
|
|
enable = lib.mkEnableOption "Microsoft Defender for Endpoint";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
services.mdatp.enable = true;
|
|
};
|
|
}
|