firefox: support nested folders in bookmarks (#3112)
This commit is contained in:
parent
0884d6c6e4
commit
375631f35b
|
@ -288,7 +288,7 @@ in {
|
|||
};
|
||||
|
||||
bookmarks = mkOption {
|
||||
type = types.listOf bookmarkType;
|
||||
type = types.listOf nodeType;
|
||||
default = [ ];
|
||||
description = "Bookmarks within directory.";
|
||||
};
|
||||
|
|
|
@ -16,5 +16,11 @@
|
|||
<DL><p>
|
||||
<DT><A HREF="https://nixos.org/" ADD_DATE="0" LAST_MODIFIED="0">homepage</A>
|
||||
<DT><A HREF="https://nixos.wiki/" ADD_DATE="0" LAST_MODIFIED="0">wiki</A>
|
||||
<DT><H3>Nix sites</H3>
|
||||
<DL><p>
|
||||
<DT><A HREF="https://nixos.org/" ADD_DATE="0" LAST_MODIFIED="0">homepage</A>
|
||||
<DT><A HREF="https://nixos.wiki/" ADD_DATE="0" LAST_MODIFIED="0">wiki</A>
|
||||
</p></DL>
|
||||
</p></DL>
|
||||
</p></DL>
|
||||
</p></DL>
|
||||
|
|
|
@ -43,6 +43,19 @@ lib.mkIf config.test.enableBig {
|
|||
name = "wiki";
|
||||
url = "https://nixos.wiki/";
|
||||
}
|
||||
{
|
||||
name = "Nix sites";
|
||||
bookmarks = [
|
||||
{
|
||||
name = "homepage";
|
||||
url = "https://nixos.org/";
|
||||
}
|
||||
{
|
||||
name = "wiki";
|
||||
url = "https://nixos.wiki/";
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue