2020-08-18 12:01:44 +04:00
|
|
|
|
2020-02-17 17:00:59 +04:00
|
|
|
{ config, lib, pkgs, ... }: {
|
|
|
|
|
|
|
|
services.acpid.enable = true;
|
|
|
|
|
|
|
|
services.earlyoom = {
|
2021-01-21 22:13:53 +04:00
|
|
|
enable = config.deviceSpecific.devInfo.ram < 16;
|
2020-02-17 17:00:59 +04:00
|
|
|
freeMemThreshold = 5;
|
|
|
|
freeSwapThreshold = 100;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.printing = {
|
|
|
|
enable = true;
|
|
|
|
drivers = [ pkgs.gutenprint ];
|
|
|
|
};
|
2020-12-25 00:19:46 +04:00
|
|
|
|
2020-02-17 17:00:59 +04:00
|
|
|
programs.mosh.enable = true;
|
|
|
|
|
|
|
|
services.fwupd.enable = true;
|
|
|
|
|
|
|
|
services.avahi.enable = true;
|
|
|
|
|
|
|
|
systemd.services.systemd-udev-settle.enable = false;
|
|
|
|
|
2020-02-26 16:43:15 +04:00
|
|
|
services.pcscd.enable = true;
|
2020-04-27 22:58:07 +04:00
|
|
|
|
2020-02-17 17:00:59 +04:00
|
|
|
services.upower.enable = true;
|
|
|
|
}
|