mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
mounted lvs for storage/media
This commit is contained in:
parent
db4518095e
commit
a6a61a1670
1 changed files with 16 additions and 2 deletions
|
|
@ -18,8 +18,22 @@
|
|||
"ext4"
|
||||
"xfs"
|
||||
];
|
||||
# services.lvm.enable = true;
|
||||
# services.lvm.boot.thin.enable = true; # Crucial for thin pools
|
||||
services.lvm.enable = true;
|
||||
services.lvm.boot.thin.enable = true; # Crucial for thin pools
|
||||
|
||||
# Mount for your media LV (from /dev/sdd via media VG)
|
||||
fileSystems."/media" = {
|
||||
device = "/dev/media/vm-101-disk-0";
|
||||
fsType = "ext4";
|
||||
options = [ "defaults" "nofail" ];
|
||||
};
|
||||
|
||||
# Mount for your newly formatted storage LV
|
||||
fileSystems."/storage" = {
|
||||
device = "/dev/Storage/data_lv"; # Path to your new thick LV
|
||||
fsType = "ext4"; # Or xfs if you chose that
|
||||
options = [ "defaults" "nofail" ];
|
||||
};
|
||||
|
||||
# Basic firewall
|
||||
networking.firewall.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue