diff --git a/hosts/quitte/configuration.nix b/hosts/quitte/configuration.nix index 26684a8..f86ad6e 100644 --- a/hosts/quitte/configuration.nix +++ b/hosts/quitte/configuration.nix @@ -1,4 +1,4 @@ -{ pkgs, config, ... }: +{ config, ... }: { imports = @@ -13,6 +13,11 @@ boot.supportedFilesystems = [ "zfs" ]; boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; + services.zfs = { + trim.enable = true; + autoScrub.enable = true; + }; + # Set your time zone. time.timeZone = "Europe/Berlin"; i18n.defaultLocale = "en_US.UTF-8";