21 lines
456 B
Nix
21 lines
456 B
Nix
{ config, pkgs, ... }: {
|
|
|
|
# Enable and configure the SeaweedFS mount
|
|
services.seaweedfs-mount = {
|
|
enable = true;
|
|
filerAddresses = [
|
|
"filer_nix1:8888"
|
|
"filer_nix2:8888"
|
|
"filer_nix3:8888"
|
|
"filer_nixnas:8888"
|
|
];
|
|
mountPoint = "/mnt/service/seaweedfs";
|
|
};
|
|
|
|
networking.extraHosts = ''
|
|
192.168.178.5 filer_nix1
|
|
192.168.178.6 filer_nix2
|
|
192.168.178.7 filer_nix3
|
|
192.168.178.8 filer_nixnas
|
|
'';
|
|
} |