From 990ca662c4b92636053ea399f5fb80702830522c Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 25 Jan 2022 15:36:44 +0100 Subject: [PATCH] unison: fix option example Pairs are named attribute sets. One level was missing. Fixes #2662 --- modules/services/unison.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/services/unison.nix b/modules/services/unison.nix index 1683e8851..d7f8a628a 100644 --- a/modules/services/unison.nix +++ b/modules/services/unison.nix @@ -80,10 +80,12 @@ in { default = { }; example = literalExpression '' { - roots = [ - "/home/user/documents" - "ssh://remote/documents" - ]; + "my-documents" = { + roots = [ + "/home/user/documents" + "ssh://remote/documents" + ]; + }; } ''; description = ''