about summary refs log tree commit diff
path: root/modules/laptop.nix
blob: 7820a29f811d8e831cedc5faad4cb20435e75a20 (plain)
1
2
3
4
5
6
7
8
9
10
11
{ config, lib, ... }:

{
  # Laptop-specific system tweaks

  # Don't protect kernel image to enable hibernation
  security.protectKernelImage = lib.mkForce false;

  # Enable auto trimming on SSDs
  services.fstrim.enable = lib.mkDefault (!config.services.zfs.trim.enable);
}