7 cfg = config.services.intune;
10 options.services.intune = {
11 enable = lib.mkEnableOption "Microsoft Intune";
15 config = lib.mkIf cfg.enable {
16 users.users.microsoft-identity-broker = {
17 group = "microsoft-identity-broker";
21 users.groups.microsoft-identity-broker = { };
22 environment.systemPackages = [ pkgs.microsoft-identity-broker pkgs.intune-portal ];
23 systemd.packages = [ pkgs.microsoft-identity-broker pkgs.intune-portal ];
25 systemd.tmpfiles.packages = [ pkgs.intune-portal ];
26 services.dbus.packages = [ pkgs.microsoft-identity-broker ];
30 maintainers = with lib.maintainers; [ rhysmdnz ];