16 lines
310 B
Nix
16 lines
310 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
# Import all the package modules
|
|
imports = [
|
|
./juicefs.nix
|
|
];
|
|
|
|
# Enable JuiceFS
|
|
services.juicefsCustom = {
|
|
enable = true;
|
|
redisUrl = "redis://:your-redis-password@localhost:6379/0";
|
|
mountPoint = "/mnt/object_storage";
|
|
cacheDir = "/var/jfsCache";
|
|
};
|
|
}
|