1
0
Fork 0

Install samba to greatyamada

This commit is contained in:
Avery 2025-06-29 15:21:14 +00:00
parent 1700367658
commit de6026cb84
Signed by: Avery
GPG key ID: B684FD451B692E04
2 changed files with 21 additions and 0 deletions

View file

@ -11,6 +11,7 @@
./pgadmin.nix
./postgresql.nix
./radicale.nix
./samba.nix
./searxng.nix
./vaultwarden.nix
./wireguard.nix

View file

@ -0,0 +1,20 @@
{ ... }: {
services.samba = {
enable = true;
openFirewall = true;
settings = {
global = {
"invalid users" = [ "root" ];
"passwd program" = "/run/wrappers/bin/passwd %u";
security = "user";
};
"PS2" = {
path = "/mnt/hdd-01/PS2";
browseable = "yes";
"read only" = "yes";
"guest ok" = "yes";
comment = "PS2 game share";
};
};
};
}