From a262378e8e850a02384b2f2bc5a7db29635b8ad3 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Thu, 21 Oct 2021 12:49:00 -0400 Subject: [PATCH] Move nerdfont set to common --- X11/alacritty.nix | 2 -- common.nix | 2 ++ mac-home.nix | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 mac-home.nix diff --git a/X11/alacritty.nix b/X11/alacritty.nix index 82bd291..2ca309e 100644 --- a/X11/alacritty.nix +++ b/X11/alacritty.nix @@ -5,8 +5,6 @@ let in { home.packages = [ - # Enable the FSM font with NF variant - (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) ]; programs.alacritty = { diff --git a/common.nix b/common.nix index e8cf21f..8f62679 100644 --- a/common.nix +++ b/common.nix @@ -31,6 +31,8 @@ # Fonts fantasque-sans-mono + ## Enable the FSM font with NF variant + (nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) # CLI tools fd diff --git a/mac-home.nix b/mac-home.nix new file mode 100644 index 0000000..e41ce73 --- /dev/null +++ b/mac-home.nix @@ -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"; +}