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 {
type = types.listOf bookmarkType;
type = types.listOf nodeType;
default = [ ];
description = "Bookmarks within directory.";
};

View file

@ -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>

View file

@ -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/";
}
];
}
];
}
];