From 5d65ceb2bda2a86070545a8f53c6723161a3b2d5 Mon Sep 17 00:00:00 2001 From: Stefan Ellmauthaler Date: Fri, 15 Oct 2021 16:16:50 +0200 Subject: [PATCH] tweaks on emacs config Signed-off-by: Stefan Ellmauthaler --- configuration.nix | 2 +- home/config/nixpkgs/home.nix | 2 +- programs/emacs/default.el | 13 +++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 215bc7d..fac00ba 100644 --- a/configuration.nix +++ b/configuration.nix @@ -122,7 +122,7 @@ rustup rust-analyzer usbutils - gcc + #gcc clang keepassxc gnome.libsecret diff --git a/home/config/nixpkgs/home.nix b/home/config/nixpkgs/home.nix index d221167..85938d7 100644 --- a/home/config/nixpkgs/home.nix +++ b/home/config/nixpkgs/home.nix @@ -7,7 +7,7 @@ ./git.nix ./gpg.nix ./i3.nix - ./nextcloud.nixg + ./nextcloud.nix ./polybar.nix ./zsh.nix ]; diff --git a/programs/emacs/default.el b/programs/emacs/default.el index fd9f5c2..3d5cfe3 100644 --- a/programs/emacs/default.el +++ b/programs/emacs/default.el @@ -383,6 +383,18 @@ :custom (flyspell-mode-line-string nil)) +;; pasp +(use-package pasp-mode) + +;; sparql +(use-package sparql-mode) + +;; json +(use-package json-mode + :defer t + :mode "\\.json\\'" + :hook (json-mode-hook . yas-minor-mode)) + ;; lsp (use-package lsp-mode :after flycheck @@ -452,4 +464,5 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(default ((t (:slant normal :weight normal :height 144 :width normal :foundry "unknown" :family "Hasklug Nerd Font")))) )