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:
parent
0884d6c6e4
commit
375631f35b
3 changed files with 20 additions and 1 deletions
|
@ -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.";
|
||||||
};
|
};
|
||||||
|
|
|
@ -12,9 +12,15 @@
|
||||||
</p></DL>
|
</p></DL>
|
||||||
<DT><A HREF="https://en.wikipedia.org/wiki/Special:Search?search=%s&go=Go" ADD_DATE="0" LAST_MODIFIED="0" SHORTCUTURL="wiki">wikipedia</A>
|
<DT><A HREF="https://en.wikipedia.org/wiki/Special:Search?search=%s&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>
|
||||||
|
|
|
@ -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/";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue