nixfiles/nixos/modules/personal.nix

7 lines
142 B
Nix

{ config, lib, ... }: let
inherit (lib.modules) mkIf;
in {
config = mkIf config.role.personal {
services.fstrim.enable = true;
};
}