diff --git a/hosts/Disco.nix b/hosts/Disco.nix index 8f28c01..09c5437 100644 --- a/hosts/Disco.nix +++ b/hosts/Disco.nix @@ -172,16 +172,6 @@ LidSwitchIgnoreInhibited = no ''; - services.earlyoom = { - enable = true; - enableNotifications = true; - }; - - swapDevices = [{ - device = "/swapfile"; - size = 16 * 1024; - }]; - # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave diff --git a/hosts/x270.nix b/hosts/x270.nix index 30f75e8..70b3ef0 100644 --- a/hosts/x270.nix +++ b/hosts/x270.nix @@ -6,17 +6,6 @@ speed = 170; }; - # Ensure that trackpoint mouse buttons work after suspend without having - # to touch the trackpoint first - powerManagement = { - powerDownCommands = '' - modprobe -r psmouse - ''; - resumeCommands = '' - modprobe psmouse - ''; - }; - services.xserver.videoDrivers = [ "modesetting" ]; boot.initrd.kernelModules = [ "i915" ];