Emacs and adding Symbols Nerd Font

This commit is contained in:
agryphus 2024-01-24 01:07:54 -05:00
parent 0340d97e8b
commit 962dddbffd
10 changed files with 77 additions and 19 deletions

View file

@ -29,7 +29,13 @@
i18n.defaultLocale = "en_US.UTF-8";
fonts.packages = with pkgs; [
(nerdfonts.override { fonts = [ "FiraCode" ]; })
# The nerdfonts package does not allow the installation of only the
# Symbols Nerd Font. Also, the "mono" (actually double wide)
# version of this font centers the symbols which is nice.
nur.repos.bandithedoge.symbols-nerd-font
hack-font
fira-code
];
networking.networkmanager.enable = true;
@ -126,7 +132,8 @@
sl # Choo choo
# Some nix specific stuff
nix-index
nil # Nix LSP
nix-index # See which packages source a file
nix-output-monitor # Track dependency graph during builds
nix-prefetch-git # Like nix-prefetch-url, but for git
nvd # See diffs between builds
@ -187,6 +194,12 @@
})
];
nixpkgs.config.packageOverrides = pkgs: {
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs;
};
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. It's perfectly fine and recommended to leave

View file

@ -1,10 +1,8 @@
{ config, lib, pkgs, modulesPath, ... }:
{
services.emacs.enable = true;
environment.systemPackages = with pkgs; [
emacs29-gtk3
emacs29-pgtk # Transparency on Wayland requires Pure GTK
# Misc
ispell # Spellchecker