From c6cc36e28f7f4ac600cf46f2f90089171f6930b9 Mon Sep 17 00:00:00 2001 From: Jordan Ashurst Date: Tue, 6 Oct 2026 04:55:35 -0700 Subject: [PATCH] Allowing new subnet --- hosts/dogma-nixos/samba.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hosts/dogma-nixos/samba.nix b/hosts/dogma-nixos/samba.nix index 0a69cb2..fa13407 100644 --- a/hosts/dogma-nixos/samba.nix +++ b/hosts/dogma-nixos/samba.nix @@ -1,4 +1,8 @@ -{pkgs, ...}: { +{ + pkgs, + config, + ... +}: { services.samba = { enable = true; openFirewall = true; @@ -11,7 +15,7 @@ #"use sendfile" = "yes"; #"max protocol" = "smb2"; # note: localhost is the ipv6 localhost ::1 - "hosts allow" = "192.168.1.1/24 127.0.0.1 localhost"; + "hosts allow" = "192.168.0.1/24 127.0.0.1 localhost"; "guest account" = "nobody"; "map to guest" = "bad user"; };