New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename fonts.fonts -> fonts.packages #870
base: master
Are you sure you want to change the base?
Conversation
Is this all that's necessary for LnL7#752?
Sorry, I have no idea how I closed this. I think I meant to convert from a draft to a regular PR and clicked the wrong button… |
Yup, e.g. (for a flake config) - nix-darwin.url = "github:LnL7/nix-darwin";
+ nix-darwin.url = "github:b-/nix-darwin/patch-1"; I tested this and it definitely works, though you see a few trace warnings about using deprecated |
Thanks, I was wondering why I was still getting those messages. I’ll change those later today. |
I needed to really force my local machine to refresh the inputs before it stopped showing the warning, ( |
Actually I'm still getting |
I'd also like to see this change integrated 🙏 fonts =
let
fnts = with pkgs; [
eb-garamond
emacs-all-the-icons-fonts
etBook
fira-code
font-awesome
nerdfonts
roboto
roboto-mono
];
in
# TODO: hack to get around waiting for nix-darwin#870
({ fontDir.enable = true; }
// mkIf isLinux { packages = fnts; }
// mkIf isDarwin { fonts = fnts; }); |
Is this all that's necessary for #752? I've never done this before, but it looks like the only change that was necessary to do the same on NixOS (NixOS/nixpkgs@5162df3)
I did not test this, which is why it's marked as draft. (I suppose I can by pointing my flake.nix to the fork in this pr, right?)