From c9c4f84bd1303281d7520c2a519d7be7d678c83c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 20 Feb 2024 21:13:23 +0100 Subject: nixos: some fixes and oomd disable --- nixos/modules/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nixos/modules') diff --git a/nixos/modules/generic.nix b/nixos/modules/generic.nix index 35880f1..ea8bd74 100644 --- a/nixos/modules/generic.nix +++ b/nixos/modules/generic.nix @@ -39,7 +39,8 @@ in { kernelParams = ["boot.shell_on_fail"]; }; hardware.enableAllFirmware = true; - services.fwupd.enable = mkIf (pkgs.system == "x86_64-linux") true; + services.fwupd.enable = mkDefault (pkgs.system == "x86_64-linux"); + systemd.oomd.enable = false; nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; @@ -59,7 +60,6 @@ in { exfat exfatprogs ntfs3g - nix-index usbutils pciutils smartmontools -- cgit v1.2.3