
- Created modules/services/nfs.nix for network file sharing - Updated sleeper-service configuration with NFS and Transmission - Fixed SSH key management to use direct key configuration - Updated hardware-configuration to use sleeper-service hostname - Added firewall ports for Transmission RPC (9091)
17 lines
410 B
Nix
17 lines
410 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.transmission = {
|
|
enable = true;
|
|
user = "geir";
|
|
group = "users";
|
|
settings.rpc-port = 9091;
|
|
settings.rpc-bind-address = "0.0.0.0";
|
|
downloadDirPermissions = "770";
|
|
settings = {
|
|
download-dir = "/mnt/storage/downloads";
|
|
rpc-whitelist = "127.0.0.1,10.0.0.*,100.*.*.*";
|
|
rpc-host-whitelist = "sleeper-service,localhost";
|
|
};
|
|
};
|
|
}
|