diff --git a/configuration.nix b/configuration.nix index 05923c0..bb2f254 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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;