From 4f3d6e6550177d928b72abb5a6957e41e7d592ef Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Tue, 8 Oct 2024 15:42:03 +0200 Subject: [PATCH] Removed OS Prober from solis config --- machines/solis/configuration.nix | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) 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; }