feat: Some vm stuff and rsyncd
This commit is contained in:
19
nixos/ryu/services/rsyncd.nix
Normal file
19
nixos/ryu/services/rsyncd.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{...}: {
|
||||
services.rsyncd = {
|
||||
enable = false;
|
||||
# openFirewall = true;
|
||||
settings = {
|
||||
media = {
|
||||
path = "/media";
|
||||
comment = "Media";
|
||||
"read only" = true;
|
||||
# "use chroot" = "no";
|
||||
list = true;
|
||||
uid = "root";
|
||||
gid = "root";
|
||||
};
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [873];
|
||||
networking.firewall.allowedUDPPorts = [873];
|
||||
}
|
||||
Reference in New Issue
Block a user