Skip to content
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

Changed fonts #42

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions src/hosts/xenon/modules/appearance/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
# Configuration related to visual appearance of the system
{
inputs,
pkgs,
...
}: {
{pkgs, ...}: {
fonts = {
packages = [
# Roboto font from Google
pkgs.roboto

# Roboto Mono font patched with Nerd Font
(pkgs.nerdfonts.override {fonts = ["RobotoMono"];})

# Emoji font from Google
pkgs.noto-fonts-emoji

# Apple fonts
(pkgs.callPackage inputs.packages.apple-fonts {})
];

fontconfig = {
defaultFonts = {
sansSerif = [
"SF Pro Text"
"Roboto"
];

serif = [
"New York"
"Roboto"
];

monospace = [
"SFMono Nerd Font"
"RobotoMono Nerd Font"

# Unpatched font as fallback
"SF Mono"
"Roboto Mono"
];

emoji = [
Expand Down
68 changes: 0 additions & 68 deletions src/packages/apple-fonts/builder.sh

This file was deleted.

53 changes: 0 additions & 53 deletions src/packages/apple-fonts/default.nix

This file was deleted.

4 changes: 1 addition & 3 deletions src/packages/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
apple-fonts = import ./apple-fonts;
}
{}