mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
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
22 lines
557 B
Nix
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";
|
|
};
|
|
};
|
|
};
|
|
}
|