From 3359aa38e74090ce0b1b41249ba9dfef91f38131 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Sun, 22 Sep 2024 15:51:33 +0530 Subject: [PATCH] fix: migrate to newer samba options --- hosts/rahu/configuration.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/hosts/rahu/configuration.nix b/hosts/rahu/configuration.nix index b125b41..586c49d 100644 --- a/hosts/rahu/configuration.nix +++ b/hosts/rahu/configuration.nix @@ -70,12 +70,11 @@ services.samba = { enable = true; openFirewall = true; - securityType = "user"; - extraConfig = '' - security = user - guest account = nobody - map to guest = bad user - ''; + settings.global = { + security = "user"; + "guest account" = "nobody"; + "map to guest" = "bad user"; + }; shares = { media = { path = "/media";