mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
add lvm
This commit is contained in:
parent
21f2dab068
commit
98aa9c05c3
1 changed files with 9 additions and 9 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue