Use IPs for mounting glusterfs, prevents boot mount failing before networking comes up.
14 lines
269 B
Nix
14 lines
269 B
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.systemPackages = [ pkgs.glusterfs ];
|
|
|
|
fileSystems."/data/compute" = {
|
|
device = "192.168.1.71:/compute";
|
|
fsType = "glusterfs";
|
|
options = [
|
|
"backup-volfile-servers=192.168.1.72:192.168.1.2"
|
|
"_netdev"
|
|
];
|
|
};
|
|
}
|