migrates dnsc-server

This commit is contained in:
Dennis Schoepf 2026-03-04 22:46:08 +01:00
parent ac4074245c
commit 996dc27419
15 changed files with 318 additions and 9 deletions

15
modules/zfs/default.nix Normal file
View file

@ -0,0 +1,15 @@
{ ... }:
{
flake.modules.nixos.zfs =
{ pkgs, ... }:
{
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.forceImportRoot = false;
boot.zfs.extraPools = [ "main" ];
services.zfs = {
autoSnapshot.enable = true;
trim.enable = true;
};
};
}