WIP: challenger: init new host

This commit is contained in:
2024-07-01 23:28:24 +02:00
parent f580bef7c1
commit 097ded10b5
7 changed files with 141 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{ config, pkgs, lib, ... }:
{
# Boot drives are defined in ./hardware-configuration.nix
environment.systemPackages = with pkgs; [ cifs-utils ];
# Local zfs
boot = {
zfs.extraPools = [ "tank" ];
supportedFilesystems = [ "zfs" ];
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
};
services.zfs.autoScrub = {
enable = true;
interval = "Wed *-*-8..14 00:00:00";
};
}