nixos/modules/smb.nix
ISnortPennies 6b7ce7d133 fixed refreshrate on desktop
switch to neovim as a pager
added parrot and mining modules
deleted amd module
moved the rest of vfio configuration to vfio.nix
moved git from home-manager to system configuration
2023-01-23 23:32:11 -05:00

22 lines
557 B
Nix

{settings, ...}: {
services.samba-wsdd.enable = true; # make shares visible for windows 10 clients
networking.firewall = {
allowedTCPPorts = [139 445];
allowedUDPPorts = [137 138];
};
services.samba = {
enable = true;
securityType = "user";
openFirewall = true;
shares = {
Share = {
path = "/home/${settings.username}/Share";
browseable = "no";
"read only" = "no";
"guest ok" = "no";
"force user" = "${settings.username}";
"force group" = "users";
};
};
};
}