Merge branch 'main' of ssh://gitea.xeovalyte.dev:2222/xeovalyte/nix

This commit is contained in:
2025-06-20 16:35:21 +02:00
11 changed files with 427 additions and 12 deletions

View File

@@ -73,6 +73,30 @@
];
};
# Create samba share
services.samba = {
enable = true;
securityType = "user";
openFirewall = true;
settings = {
"public" = {
"path" = "/home/xeovalyte/Public";
"browseable" = "yes";
"read only" = "no";
"guest ok" = "yes";
"create mask" = "0644";
"directory mask" = "0755";
"force user" = "xeovalyte";
"force group" = "xeovalyte";
};
};
};
services.samba-wsdd = {
enable = true;
openFirewall = true;
};
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 80 443 53 ];