add fonts to nix
This commit is contained in:
parent
94a37d6ee4
commit
59531934d2
14
etc/hosts
14
etc/hosts
@ -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
|
||||
@ -27,6 +27,10 @@
|
||||
docker httpie home-manager
|
||||
];
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
||||
];
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user