diff --git a/modules/programs/firefox.nix b/modules/programs/firefox.nix index a5864b81..63adf02b 100644 --- a/modules/programs/firefox.nix +++ b/modules/programs/firefox.nix @@ -288,7 +288,7 @@ in { }; bookmarks = mkOption { - type = types.listOf bookmarkType; + type = types.listOf nodeType; default = [ ]; description = "Bookmarks within directory."; }; diff --git a/tests/modules/programs/firefox/profile-settings-expected-bookmarks.html b/tests/modules/programs/firefox/profile-settings-expected-bookmarks.html index 2907a66c..3bdcac0f 100644 --- a/tests/modules/programs/firefox/profile-settings-expected-bookmarks.html +++ b/tests/modules/programs/firefox/profile-settings-expected-bookmarks.html @@ -16,5 +16,11 @@

homepage
wiki +

Nix sites

+

+

homepage +
wiki +

+

diff --git a/tests/modules/programs/firefox/profile-settings.nix b/tests/modules/programs/firefox/profile-settings.nix index fc8f4e71..23bf1285 100644 --- a/tests/modules/programs/firefox/profile-settings.nix +++ b/tests/modules/programs/firefox/profile-settings.nix @@ -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/"; + } + ]; + } ]; } ];