diff --git a/machines/solis/configuration.nix b/machines/solis/configuration.nix index 6cb0576..499c9a0 100644 --- a/machines/solis/configuration.nix +++ b/machines/solis/configuration.nix @@ -23,10 +23,34 @@ boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/sda"; - boot.loader.grub.useOSProber = true; virtualisation.docker.enable = true; services.resolved.enable = true; services.resolved.extraConfig = "DNSStubListener=no\n"; + + services.samba = { + enable = false; + securityType = "user"; + openFirewall = true; + shares = { + public = { + path = "/home/horseman/mnt/sda1"; + browseable = "yes"; + "read only" = "yes"; + "guest ok" = "yes"; + "create mask" = "0644"; + "directory mask" = "0755"; + "force user" = "user"; + }; + }; + }; + + services.samba-wsdd = { + enable = true; + openFirewall = true; + }; + + networking.firewall.enable = true; + networking.firewall.allowPing = true; }