f489259af9
- Add fingerprint.nix hardware module with TOD driver support - Create separate laptop-work configuration with Cisco, Himmelblau, and MDATP work modules - Move work-specific modules from shared to laptop-work profile - Change work module enable defaults to false for better security-by-default - Add MDATP support with enhanced modular structure
23 lines
397 B
Nix
23 lines
397 B
Nix
{ config, lib, pkgs, 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;
|
|
};
|
|
}
|