From 299f93dfdcd2f63b5dbe38c62d27e61227120f06 Mon Sep 17 00:00:00 2001 From: Izorkin Date: Thu, 17 Dec 2020 20:52:30 +0300 Subject: [PATCH] nixos/samba-wsdd: fix starting --- nixos/modules/services/network-filesystems/samba-wsdd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/network-filesystems/samba-wsdd.nix b/nixos/modules/services/network-filesystems/samba-wsdd.nix index 004d07064af..c68039c79e2 100644 --- a/nixos/modules/services/network-filesystems/samba-wsdd.nix +++ b/nixos/modules/services/network-filesystems/samba-wsdd.nix @@ -108,7 +108,7 @@ in { ProtectKernelModules = true; ProtectKernelLogs = true; ProtectControlGroups = true; - RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" ]; + RestrictAddressFamilies = [ "AF_UNIX" "AF_INET" "AF_INET6" "AF_NETLINK" ]; RestrictNamespaces = true; LockPersonality = true; MemoryDenyWriteExecute = true;