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