host: Enable earlyoom

This commit is contained in:
2021-09-20 11:40:49 +02:00
parent deb88dafa7
commit c147db7c59
3 changed files with 25 additions and 5 deletions

View File

@@ -44,6 +44,7 @@ in mkHost config {
piper
anime-dl trackma
unstable.thunderbird
multimc-wrapped
];
extraOptions = old: {
programs = {
@@ -51,10 +52,6 @@ in mkHost config {
adb.enable = true;
};
# TODO: Move to virtualisation/gaming.nix
# Allow scream to connect to this host
networking.firewall.allowedUDPPorts = [ 4010 ];
boot = {
extraModprobeConfig = ''
options kvm_amd nested=1
@@ -91,6 +88,7 @@ in mkHost config {
connman.extraConfig = ''
WriteResolvConf=false
'';
udev.packages = with pkgs; [ key-mapper ];
};
security = {