anchor.diff:        "systemd/logind.conf".text = ''
           [Login]
           KillUserProcesses=no
  +        HandleLidSwitch=${config.services.logind.lidSwitch}
  +        HandleLidSwitchDocked=${config.services.logind.lidSwitchDocked}
           ${config.services.logind.extraConfig}
         '';
   
  
positive.code:       description = ''
          Extra config options for systemd-logind. See man logind.conf for
          available options.
        '';
      };
  
  
negative.code:         '';
      };
  
    logindHandlerType = types.enum [
      "ignore" "poweroff" "reboot" "halt" "kexec" "suspend"
      "hibernate" "hybrid-sleep" "lock"
    ];
  
  in
  
  {
  