nixos/network-filesystems/samba: fix eval

This commit is contained in:
Jörg Thalheim 2024-09-15 11:02:11 +02:00
parent f1dfc8d363
commit b4b8ef5bb6

View File

@ -3,7 +3,7 @@ let
cfg = config.services.samba;
settingsFormat = pkgs.formats.ini {
listToValue = lib.concatMapStringsSep " " (generators.mkValueStringDefault { });
listToValue = lib.concatMapStringsSep " " (lib.generators.mkValueStringDefault { });
};
# Ensure the global section is always first
globalConfigFile = settingsFormat.generate "smb-global.conf" { global = cfg.settings.global; };