replace webdav with samba
All checks were successful
Flake check / flake-check (pull_request) Successful in 18s
Build hosts / build-hosts (pull_request) Successful in 33s

This commit is contained in:
sid 2026-05-17 18:54:10 +02:00
parent dab1a39866
commit 1bb2b7c194
8 changed files with 30 additions and 106 deletions

View file

@ -0,0 +1,27 @@
{ config, ... }:
{
services.samba = {
enable = true;
openFirewall = false;
nmbd.enable = false;
winbindd.enable = false;
settings = {
global = {
workgroup = "WORKGROUP";
"server string" = config.networking.hostName;
security = "user";
"map to guest" = "Bad User";
"guest account" = "nobody";
};
share = {
path = "/home/sid";
browseable = "yes";
"read only" = "yes";
"guest ok" = "yes";
"force user" = "sid";
"directory mask" = "0750";
};
};
};
}