Files
nixconf/seaweedfs.nix
2025-10-12 15:53:51 +02:00

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
'';
}