~sumner/nixos-configuration

9b60567e44bab8e23e584b5cd04bae3b71934760 — Sumner Evans 2 years ago 95dcf0d
fonts: fix remarshal overlay for iosevka build
1 files changed, 14 insertions(+), 0 deletions(-)

M modules/services/gui/fonts.nix
M modules/services/gui/fonts.nix => modules/services/gui/fonts.nix +14 -0
@@ 1,4 1,18 @@
{ config, lib, pkgs, ... }: {
  nixpkgs.overlays = [
    # https://github.com/NixOS/nixpkgs/pull/159074
    (self: super: {
      remarshal = super.remarshal.overrideAttrs (old: rec {
        postPatch = ''
          substituteInPlace pyproject.toml \
            --replace "poetry.masonry.api" "poetry.core.masonry.api" \
            --replace 'PyYAML = "^5.3"' 'PyYAML = "*"' \
            --replace 'tomlkit = "^0.7"' 'tomlkit = "*"'
        '';
      });
    })
  ];

  fonts = lib.mkIf (config.xorg.enable || config.wayland.enable) {
    fonts = with pkgs; [
      font-awesome_4