Compare commits

..

No commits in common. "b73c35dc3b15811ce1771f34bcb3f7d3e8106221" and "448e4dfda83b3e2d287ec60910e049a75f894a4e" have entirely different histories.

2 changed files with 3 additions and 9 deletions

View File

@ -10,14 +10,14 @@
server string = samba
netbios name = samba
security = ${config.services.samba.securityType}
hosts allow = 10.0.1 localhost
hosts allow = 192.168.1 localhost
hosts deny = 0.0.0.0/0
guest account = nobody
map to guest = bad user
'';
shares.public = {
# FIXME Change path accordingly
sharepath = "/vault/samba";
sharepath = "/mnt/Shares/Public";
browseable = "yes";
"read only" = "no";
"guest ok" = "yes";

View File

@ -61,17 +61,11 @@
listenPort = 1194;
privateKeyFile = "/home/coace/.wg/keys/privatekey";
peers = [
# Amin
{
# Placeholder public key
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
allowedIPs = [ "10.9.0.2/32" ];
}
# Fernando
{
# Placeholder public key
publicKey = "XMkTztU2Y8hw6Fu/2o4Gszij+EmNacvFMXuZyHS1n38=";
allowedIPs = [ "10.9.0.3/32" ];
allowedIPs = [ "10.9.0.2/32" ];
}
];
};