11 lines
347 B
Nix
11 lines
347 B
Nix
{ config, lib, ... }:
|
|
{
|
|
imports = [ ./user ];
|
|
|
|
config = lib.mkIf config.services.nfs.server.enable {
|
|
services.nfs.server.exports = "/storage *(rw)";
|
|
networking.firewall.extraInputRules = with config.services.mycelium.ips; ''
|
|
ip6 saddr { ${tower}, ${jupiter}, ${midas}, ${kitty}, ${prophet} } tcp dport 2049 accept
|
|
'';
|
|
};
|
|
}
|