anchor.diff:        }
       '';
     
  +  events = [powerEvent lidEvent acEvent];
  +  
     # Called when the power button is pressed.
     powerEvent =
       { name = "power-button";
  
positive.code: {pkgs, config, ...}:
  
  ###### interface
  let
    inherit (pkgs.lib) mkOption mkIf;
  
    options = {
      powerManagement = {
  
        enable = mkOption {
          default = false;
          description = "Whether to enable power management (ACPI daemon)";
        };
      };
    };
  in
  
  ###### implementation
  
  let
  
  
negative.code:       action =
          ''
            #! ${pkgs.bash}/bin/sh
          '';
      };
    
  