GlusterFS on Nixos

delete-dot-run
Oct 12, 2021

So i’ve spent actual days trying to get Gluster to automount using NixOS, i’ve tried most every combination and it came down to something super simple

GlusterFS

fsType = “glusterfs”;

Yep thats right! it all started when i used nixos-generate-config to generate hardware-config for me

it used the file type of “fuse.gluster” as the fsType ive been through days of using custom mount flags like _netdev yada yada yada…

so if you want to automount glusterfs on nix just change the fsType to glusterfs from fuse.glusterfs

Simple fix, happens to work!

--

--