Move nerdfont set to common

This commit is contained in:
Natsu Kagami 2021-10-21 12:49:00 -04:00
parent 9c46f1c78c
commit a262378e8e
3 changed files with 34 additions and 2 deletions

View file

@ -5,8 +5,6 @@ let
in in
{ {
home.packages = [ home.packages = [
# Enable the FSM font with NF variant
(pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
]; ];
programs.alacritty = { programs.alacritty = {

View file

@ -31,6 +31,8 @@
# Fonts # Fonts
fantasque-sans-mono fantasque-sans-mono
## Enable the FSM font with NF variant
(nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# CLI tools # CLI tools
fd fd

32
mac-home.nix Normal file
View file

@ -0,0 +1,32 @@
{ config, pkgs, ... }:
{
imports = [ ./common.nix ];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "nki";
home.homeDirectory = "/Users/nki";
# Additional packages to be used only on this MacBook.
home.packages = with pkgs; [
anki-bin
];
# Additional settings for programs
programs.fish.shellAliases = {
};
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "21.11";
}