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