Add dejavu fonts
This commit is contained in:
parent
bd187aacf2
commit
36907155b0
3 changed files with 20 additions and 6 deletions
|
|
@ -44,7 +44,8 @@ home-manager switch --flake github:Logan-Lin/nix-config#yanlin
|
|||
│ └── macos-defaults.nix # macOS system preferences and customizations
|
||||
├── config/ # Configuration files
|
||||
│ ├── p10k.zsh # Powerlevel10k theme configuration
|
||||
│ └── projects.nix # Project shortcuts configuration
|
||||
│ ├── projects.nix # Project shortcuts configuration
|
||||
│ └── fonts.nix # Font packages and configuration
|
||||
└── scripts/ # Utility scripts
|
||||
└── project-launcher.sh # Dynamic project launcher with window configuration
|
||||
```
|
||||
|
|
@ -399,6 +400,7 @@ ncdu -x # Stay on same filesystem (don't cross mount points)
|
|||
|
||||
The configuration includes carefully selected programming fonts with icon patches:
|
||||
|
||||
- **DejaVu Fonts**: Complete font family with excellent Unicode coverage and readability
|
||||
- **Fira Code**: Coding font with programming ligatures and clean aesthetics
|
||||
- **JetBrains Mono**: Modern monospace font designed specifically for developers
|
||||
|
||||
|
|
|
|||
16
config/fonts.nix
Normal file
16
config/fonts.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
# Font packages
|
||||
home.packages = with pkgs; [
|
||||
# DejaVu font family
|
||||
dejavu_fonts
|
||||
|
||||
# Nerd Fonts with programming ligatures and icon support
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.jetbrains-mono
|
||||
];
|
||||
|
||||
# Enable font configuration
|
||||
fonts.fontconfig.enable = true;
|
||||
}
|
||||
|
|
@ -58,6 +58,7 @@
|
|||
./modules/rsync.nix
|
||||
./modules/btop.nix
|
||||
./modules/firefox.nix
|
||||
./config/fonts.nix
|
||||
];
|
||||
|
||||
home.username = "yanlin";
|
||||
|
|
@ -76,8 +77,6 @@
|
|||
openssh
|
||||
papis
|
||||
claude-code.packages.aarch64-darwin.claude-code
|
||||
nerd-fonts.fira-code
|
||||
nerd-fonts.jetbrains-mono
|
||||
lazygit
|
||||
ncdu
|
||||
git-credential-oauth
|
||||
|
|
@ -85,9 +84,6 @@
|
|||
gnumake
|
||||
zoxide
|
||||
];
|
||||
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue