Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简体中文 | Русский

Apple Emoji Nix

Nix flake for Apple Color Emoji font.

Installing the Flake

Add the flake as an input in your flake.nix:

{
  inputs.nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
  inputs.apple-emoji-nix.url = "https://github.com/oxcl/nix-flake-apple-emoji";
  inputs.apple-emoji-nix.inputs.nixpkgs.follows = "nixpkgs";
}

Installing with NixOS

Add the overlay and configure fonts:

let
  pkgs = import nixpkgs {
    system = "x86_64-linux";
    overlays = [ inputs.apple-emoji-nix.overlays.default ];
  };
in {
  fonts.packages = [ pkgs.apple-emoji-nix ];
}

Rebuild your NixOS system:

sudo nixos-rebuild switch

Installing with home-manager

Use the overlay in your home-manager configuration:

{
  programs.home-manager.enable = true;

  nixpkgs.overlays = [ inputs.apple-emoji-nix.overlays.default ];

  home.packages = [ pkgs.apple-emoji-nix ];
}

After applying, refresh the font cache:

fc-cache -fv

License

The Apple Color Emoji font is copyright Apple Inc. This Nix wrapper is provided under the Apache License 2.0.

About

Apple Emoji Font for Nix

Topics

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages