diff --git a/nixos/default.nix b/nixos/default.nix index 51f4640c0..f723fb5e3 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -15,7 +15,7 @@ let # The per-user directory inside /etc/profiles is not known by # fontconfig by default. - fonts.fontconfig.enableProfileFonts = + fonts.fontconfig.enable = cfg.useUserPackages && config.fonts.fontconfig.enable; home.username = config.users.users.${name}.name;