Anyone up fro slapping me over the head on how nix syntax works?

services.kmscon = {
enable = true;
fonts = [
{ name = "nerd-fonts.monofur"; package = "nerd-fonts.monofur"; }
];
};

but apparently "nerd-fonts.monofur" isn't a package?

error: A definition for option `services.kmscon.fonts."[definition 1-entry 1]".package' is not of type `package'. Definition values:
- In `/nix/store/a1r031v6029qqkc8xaqnryq6i9qzdm4k-source/configuration.nix': "nerd-fonts.monofur"

I didn't expect it to look perfect, but better than this....

Anyone got a clue why this looks so bad? NixOs config responsible for it up thread (well in a sister thread for where I fixed it). This is on an old optiplex on a 3440*1440 screen.

Is it a bad choice of font? There isn't much guidance on what fonts are likely to work well.

#kmscon #nixos #nerdFont #askFedi

@LovesTha
This is how I do it.

#! ------------------- Fonts
fonts.fontDir.enable = true;
fonts.packages = with pkgs; [
#nerdfonts
font-awesome
google-fonts
siji
terminus_font
];

in your case your syntax looks fine except that that font package doesnt exist

maybe this is the one you want
https://search.nixos.org/packages?channel=24.11&show=nerdfonts&from=0&size=50&sort=relevance&type=packages&query=nerd

NixOS Search

@fluxmind Yeah, that is the system font syntax, but apparently kmscon needs it's own font definition bit.