add fonts to nix

This commit is contained in:
thek4n 2026-08-13 19:49:22 +03:00
parent 94a37d6ee4
commit ab59924636
3 changed files with 4 additions and 27 deletions

View File

@ -1,14 +0,0 @@
# Local
## 192.168.50.1 router.home
## 192.168.50.2 router2.home
## 192.168.50.10 files.home
## 192.168.50.11 builder.home
## 192.168.50.12 printer.home
## 192.168.50.20 workstation.home
## 192.168.50.21 phone.home
# Network
# 91.91.91.91 home

View File

@ -27,6 +27,10 @@
docker httpie home-manager docker httpie home-manager
]; ];
fonts.packages = with pkgs; [
nerd-fonts.fira-code
]
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;

View File

@ -1,13 +0,0 @@
#!/bin/sh
set -e
sub="${HOME}/.local/share/fonts"
mkdir -p "${sub}"
cd "${sub}"
wget -c -O FiraCode.zip 'https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip'
unzip FiraCode.zip -d "${sub}"
git clone 'https://github.com/powerline/fonts.git' --depth=1
cd fonts
./install.sh