dotfiles/modules/applications/firefox.nix

20 lines
416 B
Nix
Raw Normal View History

2022-04-30 16:07:58 +00:00
{ pkgs, lib, identity, gui, ... }:
2022-04-28 22:55:15 +00:00
{
2022-04-30 16:07:58 +00:00
config = lib.mkIf gui.enable {
home-manager.users.${identity.user} = {
2022-04-29 03:04:48 +00:00
home.packages = [ pkgs.firefox ];
gtk = {
enable = true;
2022-04-30 16:07:58 +00:00
theme = { name = gui.gtkTheme; };
2022-04-29 03:04:48 +00:00
};
};
2022-04-29 01:56:21 +00:00
# Required for setting GTK theme (for preferred-color-scheme in browser)
services.dbus.packages = [ pkgs.dconf ];
programs.dconf.enable = true;
2022-04-29 03:04:48 +00:00
2022-04-29 01:56:21 +00:00
};
2022-04-28 22:55:15 +00:00
}