blacksteel: add samba
This commit is contained in:
parent
e20baa20d7
commit
5b95e945da
1 changed files with 22 additions and 2 deletions
|
@ -22,6 +22,11 @@
|
|||
# [ ] fan is *blasting* even after I installed mbpfans
|
||||
# [ ] audio quality isnt too great (compared to macOS, or i might have wooden ears)
|
||||
|
||||
|
||||
######## Services
|
||||
services.tailscale.enable = true;
|
||||
|
||||
# Minecraft
|
||||
services.minecraft-server = {
|
||||
enable = true;
|
||||
eula = true;
|
||||
|
@ -44,5 +49,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
# Samba
|
||||
services.samba = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
shares."share" = {
|
||||
path = "/srv/samba/share";
|
||||
"read only" = "no";
|
||||
};
|
||||
};
|
||||
services.samba-wsdd = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /srv/samba/share 0700 guanranwang root"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue