inital nixos config commit

This commit is contained in:
2025-10-03 23:57:28 -05:00
commit bb73c757a9
29 changed files with 3809 additions and 0 deletions

27
homelab/zfs.nix Normal file
View File

@@ -0,0 +1,27 @@
{ config, pkgs, ... }:
{
# set network host id
networking.hostId = "3e6e7055";
# enable zfs support
boot.kernelModules = [ "zfs" ];
boot.supportedFilesystems = [ "zfs" ];
# enable smart monitoring
services.smartd.enable = true;
# enable zfs
services.zfs = {
autoScrub.enable = true;
autoScrub.interval = "weekly";
# datasets = {
# "rpool/data" = {
# mountPoint = "/mnt/storage";
# };
# };
};
}