files/mutable-files: update example

This commit is contained in:
Gabriel Arazas 2023-12-20 22:07:09 +08:00
parent f739542d63
commit 6e9a8e4f24
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -92,8 +92,7 @@ in
missing. missing.
''; '';
default = { }; default = { };
example = lib.literalExpression '' example = {
{
"library/dotfiles" = { "library/dotfiles" = {
url = "https://github.com/foo-dogsquared/dotfiles.git"; url = "https://github.com/foo-dogsquared/dotfiles.git";
type = "git"; type = "git";
@ -103,8 +102,7 @@ in
url = "https://example.com/file.zip"; url = "https://example.com/file.zip";
type = "archive"; type = "archive";
}; };
} };
'';
}; };
config = lib.mkIf (cfg != { }) { config = lib.mkIf (cfg != { }) {