anchor.diff:    # To suspend, instead run: systemctl suspend, or systemctl
     # hibernate, etc.
     #
  -  # Suspend does not seem to work if the trackpad can resume the
  -  # system. To fix this, run `cat TPAD > /proc/acpi/wakeup`.
  -  #
     # See more at logind.conf(5)
     services.logind.extraConfig = ''
       HandlePowerKey=ignore
  
positive.code:     '';
    };
  
    # set CHROME_PLATFORMS flag; needed for touchpad.
    # note: this means nix will need to build linux. fun!
    # nixpkgs.config = {
    #   packageOverrides = super: let self = super.pkgs; in rec {
    #     stdenv = super.stdenv // {
    #       platform = super.stdenv.platform // {
    #         kernelExtraConfig = ''
    #           CHROME_PLATFORMS y
    #         '';
    #       };
    #     };
    #   };
    # };
  
    # maybe this is needed?
    services.xserver.vaapiDrivers = [ pkgs.vaapiIntel ];
  }
  
negative.code: # Acer C720-specific configuration.
  #
  # Current issues: none! Running on a recent linux kernel (>= 4.4)
  # seems to have solved a lot.
  #
  # To do:
  #
  #   - udev rule to automatically set up external monitor when HDMI is
  #     plugged in
  #
  #   - LUKS filesystem
  #
  # some config taken from
  # https://github.com/henrytill/etc-nixos/blob/master/machines/thaumas.nix
  