mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 23:55:37 +00:00
20 lines
402 B
Nix
20 lines
402 B
Nix
{ pkgs, lib, user, gui, gtkTheme, ... }:
|
|
|
|
{
|
|
config = lib.mkIf gui {
|
|
home-manager.users.${user} = {
|
|
home.packages = [ pkgs.firefox ];
|
|
gtk = {
|
|
enable = true;
|
|
theme = { name = gtkTheme; };
|
|
};
|
|
};
|
|
|
|
# Required for setting GTK theme (for preferred-color-scheme in browser)
|
|
services.dbus.packages = [ pkgs.dconf ];
|
|
programs.dconf.enable = true;
|
|
|
|
};
|
|
|
|
}
|