Skip to content

Commit

Permalink
zfs tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Dec 31, 2024
1 parent 41226c4 commit a92cdf1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion hosts/polaris/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ sudo zpool create -o ashift=12 -o autotrim=on zroot /dev/nvme1n1
sudo zfs create zroot/box
sudo zfs set compression=lz4 zroot/box
sudo zfs set atime=off zroot/box
sudo zfs set xattr=sa zroot/box
sudo zfs set recordsize=128k zroot/box
sudo zfs set mountpoint=/opt/box zroot/box

Expand Down
10 changes: 5 additions & 5 deletions hosts/polaris/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ in
};
};

fileSystems."/opt/box" = {
device = "zroot/box";
fsType = "zfs";
options = [ "legacy" ];
};
# fileSystems."/opt/box" = {
# device = "zroot/box";
# fsType = "zfs";
# options = [ "legacy" ];
# };

environment = {
variables = {
Expand Down

0 comments on commit a92cdf1

Please sign in to comment.