mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 06:19:11 +00:00
files/mutable-files: update example
This commit is contained in:
parent
f739542d63
commit
6e9a8e4f24
@ -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 != { }) {
|
||||||
|
Loading…
Reference in New Issue
Block a user