My NixOS and Home Manager configurations
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

add ghosty package to emacs

quasigod aa45e181 28e9845e

+31 -6
+31 -6
modules/apps/emacs.nix
··· 4 4 { pkgs, ... }: 5 5 let 6 6 emacs = inputs.emacs-overlay.packages.${pkgs.stdenv.hostPlatform.system}.emacs-unstable-pgtk; 7 + epkgs = pkgs.emacsPackagesFor emacs; 8 + 9 + ghostel-module = pkgs.fetchurl { 10 + url = "https://github.com/dakra/ghostel/releases/download/v0.14.0/ghostel-module-x86_64-linux.so"; 11 + hash = "sha256-iALk4pAVTk/vG6CDSUCpCgrNzMBbORBwEgKo0bRRiwI="; 12 + }; 13 + 14 + ghostel = epkgs.trivialBuild { 15 + pname = "ghostel"; 16 + version = "0.14.0"; 17 + src = pkgs.fetchFromGitHub { 18 + owner = "dakra"; 19 + repo = "ghostel"; 20 + rev = "5280db2fa1b0265ece41275d96f6c4b046e2b166"; 21 + hash = "sha256-hLcIJj8GGdrswxlabYovS2/OWCahqCiFA4WWJJn2j6g="; 22 + }; 23 + nativeBuildInputs = [ pkgs.autoPatchelfHook ]; 24 + preBuild = '' 25 + rm -f evil-ghostel.el ghostel-evil.el 26 + ''; 27 + postInstall = '' 28 + install -m755 ${ghostel-module} $out/share/emacs/site-lisp/ghostel-module.so 29 + ''; 30 + }; 7 31 in 8 32 { 9 33 services.emacs = { ··· 16 40 package = emacs; 17 41 extraPackages = 18 42 # Only packages that should be installed globally 19 - epkgs: with epkgs; [ 20 - treesit-grammars.with-all-grammars 21 - tree-sitter-langs 22 - jinx 23 - xeft 24 - vterm 43 + epkgs: [ 44 + epkgs.treesit-grammars.with-all-grammars 45 + epkgs.tree-sitter-langs 46 + epkgs.jinx 47 + epkgs.xeft 48 + epkgs.vterm 49 + ghostel 25 50 ]; 26 51 }; 27 52 home.packages = with pkgs; [