Skip to content

Commit

Permalink
files/mutable-files: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
foo-dogsquared committed Dec 20, 2023
1 parent f739542 commit 6e9a8e4
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions modules/home-manager/files/mutable-files.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,17 @@ in
missing.
'';
default = { };
example = lib.literalExpression ''
{
"library/dotfiles" = {
url = "https://github.com/foo-dogsquared/dotfiles.git";
type = "git";
};
"library/projects/keys" = {
url = "https://example.com/file.zip";
type = "archive";
};
}
'';
example = {
"library/dotfiles" = {
url = "https://github.com/foo-dogsquared/dotfiles.git";
type = "git";
};

"library/projects/keys" = {
url = "https://example.com/file.zip";
type = "archive";
};
};
};

config = lib.mkIf (cfg != { }) {
Expand Down

0 comments on commit 6e9a8e4

Please sign in to comment.