git-sync: add example to repository option

This commit is contained in:
RedEtherbloom 2024-10-31 22:22:16 +01:00 committed by Robert Helgesson
parent cd21d2e61b
commit 3c044aefe6
Failed to generate hash of commit

View file

@ -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;
};
}
'';
};
};
};