I am unable to set the gtk font. Home-manager does not seem to apply my desired font.
home-manager = {
backupFileExtension = "hm-backup";
useGlobalPkgs = true;
users.dxwil = { config, pkgs, lib, unstable, ... } :
{
gtk = {
enable = true;
cursorTheme.name = "macOS";
cursorTheme.size = 20;
font.name = "SF-Pro-Display";
gtk3.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
gtk-font-name=SF-Pro-Display
'';
};
gtk4.extraConfig = {
Settings = ''
gtk-application-prefer-dark-theme=1
gkt-font-name=SF-Pro-Display
'';
};
};
fc-list
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-UltralightItalic.otf: SF Pro Display:style=Ultralight Italic
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-Regular.otf: SF Pro Display:style=Regular
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-BoldItalic.otf: SF Pro Display:style=Bold Italic
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-SemiboldItalic.otf: SF Pro Display:style=Semibold Italic
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-Semibold.otf: SF Pro Display:style=Semibold
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-Thin.otf: SF Pro Display:style=Thin
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-Medium.otf: SF Pro Display:style=Medium
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-Ultralight.otf: SF Pro Display:style=Ultralight
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-Black.otf: SF Pro Display:style=Black
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-Bold.otf: SF Pro Display:style=Bold
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-MediumItalic.otf: SF Pro Display:style=Medium Italic
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-HeavyItalic.otf: SF Pro Display:style=Heavy Italic
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-RegularItalic.otf: SF Pro Display:style=Regular Italic
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-BlackItalic.otf: SF Pro Display:style=Black Italic
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-ThinItalic.otf: SF Pro Display:style=Thin Italic
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-Heavy.otf: SF Pro Display:style=Heavy
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-LightItalic.otf: SF Pro Display:style=Light Italic
/home/dxwil/.local/share/fonts/SF-Pro/SF-Pro-Display-Light.otf: SF Pro Display:style=Light