Skip to content

Commit

Permalink
zfs: add some maintenance services
Browse files Browse the repository at this point in the history
  • Loading branch information
rouven0 committed Apr 1, 2024
1 parent 2d03a3d commit b12ed4b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion hosts/quitte/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ config, ... }:

{
imports =
Expand All @@ -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";
Expand Down

0 comments on commit b12ed4b

Please sign in to comment.