fix: samba

This commit is contained in:
♥ Minnie ♥ 2024-09-07 18:44:01 +08:00
parent 8c7fdf4612
commit 482462c8ba
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@
environment.systemPackages = [pkgs.cifs-utils]; environment.systemPackages = [pkgs.cifs-utils];
fileSystems."/home/sajenim/.backup" = { fileSystems."/home/sajenim/.backup" = {
device = "//192.168.20.4/sajenim"; device = "//192.168.50.227/sajenim";
fsType = "cifs"; fsType = "cifs";
options = let options = let
# this line prevents hanging on network split # this line prevents hanging on network split

View file

@ -11,7 +11,7 @@
#use sendfile = yes #use sendfile = yes
#max protocol = smb2 #max protocol = smb2
# note: localhost is the ipv6 localhost ::1 # note: localhost is the ipv6 localhost ::1
hosts allow = 192.168.20.5 127.0.0.1 localhost hosts allow = 192.168.50.237 192.168.50.12 127.0.0.1 localhost
hosts deny = 0.0.0.0/0 hosts deny = 0.0.0.0/0
guest account = nobody guest account = nobody
map to guest = bad user map to guest = bad user