aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-02-20 21:13:23 +0100
committerKarel Kočí <cynerd@email.cz>2024-02-20 21:13:23 +0100
commitc9c4f84bd1303281d7520c2a519d7be7d678c83c (patch)
tree7a4a036666d85a7966e3018fd631b135df8b6373 /nixos
parentcccd4338c96ac35c0f5eb37a82c8131f0268e083 (diff)
downloadnixos-personal-c9c4f84bd1303281d7520c2a519d7be7d678c83c.tar.gz
nixos-personal-c9c4f84bd1303281d7520c2a519d7be7d678c83c.tar.bz2
nixos-personal-c9c4f84bd1303281d7520c2a519d7be7d678c83c.zip
nixos: some fixes and oomd disable
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/generic.nix4
1 files changed, 2 insertions, 2 deletions
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