From ed41aa92c238ad4d510a8bc92d8c02c783d10ef0 Mon Sep 17 00:00:00 2001 From: Fiscal Velvet Poet Date: Mon, 4 Dec 2023 17:48:30 +1000 Subject: [PATCH] fonts: migrated to new option names --- profiles/host_common.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/profiles/host_common.nix b/profiles/host_common.nix index 6f6ffef..82237a8 100644 --- a/profiles/host_common.nix +++ b/profiles/host_common.nix @@ -38,12 +38,14 @@ security.sudo.wheelNeedsPassword = false; # Configure and install required fonts - fonts.enableDefaultFonts = true; - fonts.fontDir.enable = true; - fonts.fonts = with pkgs; [ - powerline-fonts # Required for Powerline prompts - ]; - fonts.fontconfig.includeUserConf = false; + fonts = { + enableDefaultPackages = true; + fontDir.enable = true; + packages = with pkgs; [ + powerline-fonts # Required for Powerline prompts + ]; + fontconfig.includeUserConf = false; + }; # Adapted from gchristensen and clever nix = {