<commit_before>{ config, lib, pkgs, ... }:

with lib;

let

  cfg = config.services.network-manager-applet;

in

{
  meta.maintainers = [ maintainers.rycee ];

  options = {
    services.network-manager-applet = {
      enable = mkEnableOption "the Network Manager applet";
    };
  };

  config = mkIf cfg.enable {
    systemd.user.services.network-manager-applet = {
        Unit = {
          Description = "Network Manager applet";
          After = [ "graphical-session-pre.target" ];
          PartOf = [ "graphical-session.target" ];
        };

        Install = {
          WantedBy = [ "graphical-session.target" ];
        };

        Service = {
          ExecStart = toString (
            [
              "${pkgs.networkmanagerapplet}/bin/nm-applet"
              "--sm-disable"
            ] ++ optional config.xsession.preferStatusNotifierItems "--indicator"
          );
        };
    };
  };
}<commit_msg>network-manager-applet: fix indentation<commit_after>{ config, lib, pkgs, ... }:

with lib;

let

  cfg = config.services.network-manager-applet;

in

{
  meta.maintainers = [ maintainers.rycee ];

  options = {
    services.network-manager-applet = {
      enable = mkEnableOption "the Network Manager applet";
    };
  };

  config = mkIf cfg.enable {
    systemd.user.services.network-manager-applet = {
      Unit = {
        Description = "Network Manager applet";
        After = [ "graphical-session-pre.target" ];
        PartOf = [ "graphical-session.target" ];
      };

      Install = {
        WantedBy = [ "graphical-session.target" ];
      };

      Service = {
        ExecStart = toString (
          [
            "${pkgs.networkmanagerapplet}/bin/nm-applet"
            "--sm-disable"
          ] ++ optional config.xsession.preferStatusNotifierItems "--indicator"
        );
      };
    };
  };
}
{'fraction_non_alphanumeric': 0.13735070575461455, 'fraction_numerical': 0.0, 'mean_word_length': 1.9300476947535772, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '92', 'n_tokens_mistral': 572, 'n_tokens_neox': 558, 'n_words': 90}