Compare commits
2 commits
2494def822
...
d6f2c33a09
Author | SHA1 | Date | |
---|---|---|---|
fruchti | d6f2c33a09 | ||
fruchti | 7d14f4a8df |
|
@ -172,6 +172,16 @@
|
|||
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
|
||||
|
|
|
@ -6,6 +6,17 @@
|
|||
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" ];
|
||||
|
|
Loading…
Reference in a new issue