From 3c044aefe610ceeec9cf3e83e55fa62715df27e2 Mon Sep 17 00:00:00 2001 From: RedEtherbloom Date: Thu, 31 Oct 2024 22:22:16 +0100 Subject: [PATCH] git-sync: add example to repository option --- modules/services/git-sync.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/services/git-sync.nix b/modules/services/git-sync.nix index 4bc2381b2..ba16085b3 100644 --- a/modules/services/git-sync.nix +++ b/modules/services/git-sync.nix @@ -112,6 +112,15 @@ in { description = '' The repositories that should be synchronized. ''; + example = literalExpression '' + { + xyz = { + path = "''${config.home.homeDirectory}/foo/home-manager"; + uri = "git@github.com:nix-community/home-manager.git"; + interval = 1000; + }; + } + ''; }; }; };