This commit is contained in:
death916 2025-05-11 23:05:18 +00:00
parent 21f2dab068
commit 98aa9c05c3

View file

@ -11,15 +11,15 @@
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "homelab"; # Set the server's hostname
boot.initrd.kernelModules = [ "dm_mod" ]; # Device mapper core
boot.initrd.availableKernelModules = [
"dm_thin_pool" # For LVM thin provisioning
# Add filesystem types you expect to find on these LVs, e.g., "ext4", "xfs", "zfs" (if using ZFS on LVM)
"ext4"
"xfs"
];
services.lvm.enable = true;
services.lvm.boot.thin.enable = true; # Crucial for thin pools
#boot.initrd.kernelModules = [ "dm_mod" ]; # Device mapper core
#boot.initrd.availableKernelModules = [
# "dm_thin_pool" # For LVM thin provisioning
## Add filesystem types you expect to find on these LVs, e.g., "ext4", "xfs", "zfs" (if using ZFS on LVM)
#"ext4"
#"xfs"
# ];
# services.lvm.enable = true;
# services.lvm.boot.thin.enable = true; # Crucial for thin pools
# Basic firewall
networking.firewall.enable = true;