dotfiles/home/modules/firefox/default.nix
2024-11-20 18:57:43 -06:00

26 lines
567 B
Nix
Executable file

{
pkgs,
flake,
nur,
...
}: let
inherit (flake.config.people) user0;
in {
programs.firefox = {
enable = true;
package = pkgs.firefox;
profiles = {
${user0} = let
configPath = ./config;
in
{
isDefault = true;
}
// (import (configPath + /bookmarks) {inherit flake;})
// (import (configPath + /extensions) {inherit nur;})
// (import (configPath + /search) {inherit flake;})
// (import (configPath + /settings))
// (import (configPath + /themes));
};
};
}