Add samba share deps
This commit is contained in:
parent
aa8f937e8c
commit
0730b1828a
1 changed files with 9 additions and 0 deletions
|
@ -153,6 +153,7 @@
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
cifs-utils
|
||||
curl
|
||||
fish
|
||||
git
|
||||
|
@ -178,11 +179,19 @@
|
|||
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
|
||||
};
|
||||
|
||||
# For SMB
|
||||
services.gvfs.enable = true;
|
||||
services.avahi.enable = true;
|
||||
##
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
networking.firewall.allowedTCPPorts = [22 80 443];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
|
||||
# Samba
|
||||
networking.firewall.extraCommands = ''iptables -t raw -A OUTPUT -p udp -m udp --dport 137 -j CT --helper netbios-ns'';
|
||||
|
||||
virtualisation.libvirtd.enable = true;
|
||||
|
||||
powerManagement.powertop.enable = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue