17 lines
221 B
Nix
17 lines
221 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [];
|
|
|
|
boot.zfs.devNodes = "/dev/disk/by-partuuid";
|
|
|
|
services.zfs = {
|
|
autoScrub = {
|
|
enable = true;
|
|
interval = "monthly";
|
|
};
|
|
trim.enable = true;
|
|
};
|
|
|
|
}
|