22 lines
618 B
Nix
22 lines
618 B
Nix
{ theme, ... }:
|
|
|
|
let
|
|
fonts = theme.fonts;
|
|
fontSize = toString fonts.sizes.applications;
|
|
terminalFontSize = toString fonts.sizes.terminal;
|
|
in
|
|
{
|
|
dconf = {
|
|
enable = true;
|
|
settings."org/gnome/desktop/interface" = {
|
|
color-scheme = "prefer-dark";
|
|
cursor-size = theme.cursor.size;
|
|
cursor-theme = theme.cursor.name;
|
|
document-font-name = "${fonts.serif.name} 13";
|
|
font-name = "${fonts.sansSerif.name} ${fontSize}";
|
|
gtk-theme = theme.gtk.theme.name;
|
|
icon-theme = theme.icons.dark;
|
|
monospace-font-name = "${fonts.monospace.name} ${terminalFontSize}";
|
|
};
|
|
};
|
|
}
|