about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-05-10 19:58:50 -0700
committerFranck Cuny <franck@fcuny.net>2023-05-10 19:58:50 -0700
commit4b5ffdea35163bdf5802cd1ef9fed8e0762cf7b9 (patch)
tree9dbbfcfa45415a2ad5780b11c702d6f02b5524a2
parentprofiles/samba: convert the old module as a profile (diff)
downloadworld-4b5ffdea35163bdf5802cd1ef9fed8e0762cf7b9.tar.gz
profiles/samba: fix variable
-rw-r--r--profiles/samba.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/samba.nix b/profiles/samba.nix
index d1f186b..4ae8839 100644
--- a/profiles/samba.nix
+++ b/profiles/samba.nix
@@ -28,6 +28,6 @@ in
       map to guest = bad user
       ntlm auth = true
     '';
-    shares = with lib; (listToAttrs (map makePublicShare cfg.publicShares));
+    shares = with lib; (listToAttrs (map makePublicShare publicShares));
   };
 }