From e90ae21400c14e339f7381e025d57f0abd9912c4 Mon Sep 17 00:00:00 2001 From: Chris Dombroski Date: Sat, 27 Apr 2024 16:18:43 -0400 Subject: [PATCH] Enable samba --- systems/zeus/configuration.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/systems/zeus/configuration.nix b/systems/zeus/configuration.nix index d1a2c45..325b5ae 100644 --- a/systems/zeus/configuration.nix +++ b/systems/zeus/configuration.nix @@ -382,6 +382,15 @@ # Enable the OpenSSH daemon. services.openssh.enable = true; + services.samba.enable = true; + services.samba.shares = { + media = { + path = "/video-data"; + browseable = "yes"; + "read only" = "no"; + "guest ok" = "yes"; + }; + }; services.zfs.autoScrub.enable = true; services.zfs.zed.settings = { ZED_EMAIL_ADDR = [ "root" ]; @@ -399,6 +408,7 @@ # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether. # networking.firewall.enable = false; + networking.firewall.allowPing = true; # Copy the NixOS configuration file and link it from the resulting system # (/run/current-system/configuration.nix). This is useful in case you