common: don't install fonts on headless machines

This commit is contained in:
2025-12-29 16:54:57 +09:00
parent 266a1b1730
commit d9e6c35e51

View File

@@ -1,7 +1,8 @@
{ pkgs, ... }:
{ config, pkgs, ... }:
{
fonts = {
fontDir.enable = true;
fontconfig.enable = !config.machineVars.headless;
fontDir.enable = !config.machineVars.headless;
enableDefaultPackages = true;
packages = with pkgs; [