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 = {
size = 14.0;
normal = {
family =
builtins.head (if pkgs.stdenv.isDarwin then config.fonts.fonts else config.fonts.fontconfig.defaultFonts.monospace);
family = builtins.head (if pkgs.stdenv.isDarwin then
[ "FiraCode Nerd Font Mono" ]
else
config.fonts.fontconfig.defaultFonts.monospace);
};
};
key_bindings = [

View File

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

View File

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

View File

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