1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

firefox: support nested folders in bookmarks (#3112)

This commit is contained in:
Ryan Horiguchi 2022-08-27 03:28:57 +02:00 committed by GitHub
parent 0884d6c6e4
commit 375631f35b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

View file

@ -288,7 +288,7 @@ in {
}; };
bookmarks = mkOption { bookmarks = mkOption {
type = types.listOf bookmarkType; type = types.listOf nodeType;
default = [ ]; default = [ ];
description = "Bookmarks within directory."; description = "Bookmarks within directory.";
}; };

View file

@ -12,9 +12,15 @@
</p></DL> </p></DL>
<DT><A HREF="https://en.wikipedia.org/wiki/Special:Search?search=%s&amp;go=Go" ADD_DATE="0" LAST_MODIFIED="0" SHORTCUTURL="wiki">wikipedia</A> <DT><A HREF="https://en.wikipedia.org/wiki/Special:Search?search=%s&amp;go=Go" ADD_DATE="0" LAST_MODIFIED="0" SHORTCUTURL="wiki">wikipedia</A>
<DT><A HREF="https://www.kernel.org" ADD_DATE="0" LAST_MODIFIED="0">kernel.org</A> <DT><A HREF="https://www.kernel.org" ADD_DATE="0" LAST_MODIFIED="0">kernel.org</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>
<DT><H3>Nix sites</H3> <DT><H3>Nix sites</H3>
<DL><p> <DL><p>
<DT><A HREF="https://nixos.org/" ADD_DATE="0" LAST_MODIFIED="0">homepage</A> <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><A HREF="https://nixos.wiki/" ADD_DATE="0" LAST_MODIFIED="0">wiki</A>
</p></DL> </p></DL>
</p></DL> </p></DL>
</p></DL>
</p></DL>

View file

@ -43,6 +43,19 @@ lib.mkIf config.test.enableBig {
name = "wiki"; name = "wiki";
url = "https://nixos.wiki/"; url = "https://nixos.wiki/";
} }
{
name = "Nix sites";
bookmarks = [
{
name = "homepage";
url = "https://nixos.org/";
}
{
name = "wiki";
url = "https://nixos.wiki/";
}
];
}
]; ];
} }
]; ];