hacking fonts

This commit is contained in:
Noah Masur 2022-06-18 17:16:38 -04:00
parent 518d788c73
commit f2f0ccd63f
4 changed files with 16 additions and 15 deletions

View File

@ -22,8 +22,10 @@
font = { font = {
size = 14.0; size = 14.0;
normal = { normal = {
family = family = builtins.head (if pkgs.stdenv.isDarwin then
builtins.head (if pkgs.stdenv.isDarwin then config.fonts.fonts else config.fonts.fontconfig.defaultFonts.monospace); [ "FiraCode Nerd Font Mono" ]
else
config.fonts.fontconfig.defaultFonts.monospace);
}; };
}; };
key_bindings = [ key_bindings = [

View File

@ -1,7 +1,7 @@
{ lib, ... }: { { lib, ... }: {
imports = [ ./system.nix ./tmux.nix ./utilities.nix ./hammerspoon.nix ]; imports =
[ ./system.nix ./user.nix ./tmux.nix ./utilities.nix ./hammerspoon.nix ];
options = with lib; { options = with lib; {

View File

@ -1,13 +1,13 @@
{ pkgs, ... }: { { config, pkgs, ... }: {
users.users."${user}" = { # macOS user users.users."${config.user}" = { # macOS user
home = "/Users/${user}"; home = "/Users/${config.user}";
shell = pkgs.zsh; # Default shell shell = pkgs.zsh; # Default shell
}; };
networking = { #networking = {
computerName = "MacBook"; # Host name # computerName = "MacBook"; # Host name
hostName = "MacBook"; # hostName = "MacBook";
}; #};
} }

View File

@ -14,6 +14,7 @@
kubectl kubectl
k9s k9s
noti # Create notifications programmatically noti # Create notifications programmatically
(pkgs.nerdfonts.override { fonts = [ "FiraCode" ]; })
]; ];
programs.alacritty.settings = { programs.alacritty.settings = {
@ -34,9 +35,7 @@
}; };
#fonts.fonts = with pkgs; #fonts.fonts = with pkgs;
# [ (nerdfonts.override { fonts = [ "FiraCode" ]; }) ]; # [ (nerdfonts.override { fonts = [ "Victor Mono" ]; }) ];
} }