Compare commits

..

No commits in common. "812777f5e88a78fc5fdc8908ae5fa6c96dcd626e" and "b97b8ce576f9f57800798b2f7c225be7d7b31101" have entirely different histories.

3 changed files with 11 additions and 10 deletions

View File

@ -45,7 +45,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
cudaPackages.cudnn cudaPackages.cudnn
cudaPackages.cudatoolkit cudaPackages.cudatoolkit
#cudaPackages.tensorrt_8_6_0 cudaPackages.tensorrt_8_6_0
]; ];

View File

@ -15,9 +15,6 @@ imports =
git git
rsync rsync
ripgrep ripgrep
htop
bottom
foot.terminfo
tailscale tailscale
]; ];

View File

@ -17,9 +17,9 @@ services.samba = {
min protocol = SMB3_00 min protocol = SMB3_00
server smb encrypt = required server smb encrypt = required
# note: localhost is the ipv6 localhost ::1 # note: localhost is the ipv6 localhost ::1
hosts allow = 192.168.1. 192.168.0. 127.0.0.1 localhost 100.0.0.0/255.0.0.0 hosts allow = 192.168.1. 127.0.0.1 localhost 100.
hosts deny = 0.0.0.0/0 hosts deny = 0.0.0.0/0
guest account = nobody guest account = guest
map to guest = bad user map to guest = bad user
''; '';
shares = { shares = {
@ -35,13 +35,14 @@ services.samba = {
# }; # };
Backup = { Backup = {
path = "/Main/Backup"; path = "/Main/Backup";
browseable = "yes"; "valid users" = "gunalx";
"force user" = "gunalx"; "force user" = "gunalx";
"force group" = "gunalx"; "force group" = "gunalx";
browseable = "yes";
"read only" = "no"; "read only" = "no";
"guest ok" = "no"; "guest ok" = "yes";
"create mask" = "0644"; "create mask" = "0777";
"directory mask" = "0755"; "directory mask" = "0777";
}; };
}; };
}; };
@ -55,6 +56,9 @@ services.samba-wsdd = {
networking.firewall.allowPing = true; networking.firewall.allowPing = true;
#services.avahi.openfirewall = true; #services.avahi.openfirewall = true;
services.avahi = { services.avahi = {
enable = true; enable = true;