Declaratively manage bookmarks

This commit is contained in:
Bryan Ramos 2024-06-15 11:07:48 -04:00
parent 1feedce1a9
commit eb87f6becc
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
5 changed files with 28 additions and 16 deletions

View file

@ -0,0 +1,23 @@
[
{
name = "Toolbar";
toolbar = true;
bookmarks = [
{
name = "NixOS";
bookmarks = [
{
name = "Nixpkgs";
tags = [ "nix" "dev" ];
url = "https://search.nixos.org/packages";
}
{
name = "Home Manager Options";
tags = [ "nix" "dev" ];
url = "https://nix-community.github.io/home-manager/options.xhtml";
}
];
}
];
}
]

View file

@ -24,6 +24,8 @@ userConfigs = rec {
signByDefault = true;
};
};
bookmarks = import ./bookmarks;
};
in

View file

@ -14,9 +14,7 @@ in
];
profiles = {
"${config.user.name}" = {
bookmarks = [
(import ../../../../../configs/bookmarks)
];
bookmarks = config.user.bookmarks;
};
};
};