Compare commits
2 Commits
b97b8ce576
...
812777f5e8
Author | SHA1 | Date |
---|---|---|
Adrian G L | 812777f5e8 | |
Adrian Gunnar Lauterer | 003474df4c |
|
@ -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
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -15,6 +15,9 @@ imports =
|
||||||
git
|
git
|
||||||
rsync
|
rsync
|
||||||
ripgrep
|
ripgrep
|
||||||
|
htop
|
||||||
|
bottom
|
||||||
|
foot.terminfo
|
||||||
tailscale
|
tailscale
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -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. 127.0.0.1 localhost 100.
|
hosts allow = 192.168.1. 192.168.0. 127.0.0.1 localhost 100.0.0.0/255.0.0.0
|
||||||
hosts deny = 0.0.0.0/0
|
hosts deny = 0.0.0.0/0
|
||||||
guest account = guest
|
guest account = nobody
|
||||||
map to guest = bad user
|
map to guest = bad user
|
||||||
'';
|
'';
|
||||||
shares = {
|
shares = {
|
||||||
|
@ -35,14 +35,13 @@ services.samba = {
|
||||||
# };
|
# };
|
||||||
Backup = {
|
Backup = {
|
||||||
path = "/Main/Backup";
|
path = "/Main/Backup";
|
||||||
"valid users" = "gunalx";
|
browseable = "yes";
|
||||||
"force user" = "gunalx";
|
"force user" = "gunalx";
|
||||||
"force group" = "gunalx";
|
"force group" = "gunalx";
|
||||||
browseable = "yes";
|
|
||||||
"read only" = "no";
|
"read only" = "no";
|
||||||
"guest ok" = "yes";
|
"guest ok" = "no";
|
||||||
"create mask" = "0777";
|
"create mask" = "0644";
|
||||||
"directory mask" = "0777";
|
"directory mask" = "0755";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -56,9 +55,6 @@ 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;
|
||||||
|
|
Loading…
Reference in New Issue