Updated systemPackages for doom emacs
This commit is contained in:
parent
22c9b99399
commit
0997ec9f49
3 changed files with 30 additions and 4 deletions
|
|
@ -228,6 +228,7 @@
|
|||
font-awesome
|
||||
hack-font
|
||||
corefonts
|
||||
nerd-fonts.symbols-only
|
||||
vistafonts
|
||||
];
|
||||
environment.sessionVariables = {
|
||||
|
|
@ -372,8 +373,16 @@
|
|||
settings = {
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
auto-optimise-store = true;
|
||||
substituters = ["https://hyprland.cachix.org" "https://nix-gaming.cachix.org"];
|
||||
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
|
||||
substituters = [
|
||||
"https://hyprland.cachix.org"
|
||||
"https://nix-gaming.cachix.org"
|
||||
"https://nix-community.cachix.org"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
inputs,
|
||||
...
|
||||
}: let
|
||||
emacs = pkgs.emacs;
|
||||
emacs = pkgs.emacs;#pkgs.emacs-pgtk;
|
||||
in {
|
||||
services.emacs.enable = true;
|
||||
services.emacs.startWithGraphical = true;
|
||||
|
|
@ -14,11 +14,26 @@ in {
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
libvterm
|
||||
libtool
|
||||
emacs
|
||||
ripgrep
|
||||
fd
|
||||
coreutils
|
||||
clang
|
||||
cmake
|
||||
nixfmt-rfc-style
|
||||
markdownlint-cli
|
||||
pandoc
|
||||
gnumake
|
||||
python3
|
||||
isort
|
||||
pipenv
|
||||
python313Packages.nose2
|
||||
python313Packages.pytest
|
||||
shellcheck
|
||||
nodejs_23
|
||||
|
||||
(pkgs.writeShellScriptBin "doom-install" ''
|
||||
${pkgs.git}/bin/git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d
|
||||
${pkgs.git}/bin/git clone https://github.com/KyleKrein/doomemacs.git ~/.doom.d
|
||||
|
|
@ -33,7 +48,7 @@ in {
|
|||
~/.emacs.d/bin/doom upgrade
|
||||
'')
|
||||
(pkgs.writeShellScriptBin "doom" ''
|
||||
${emacs}/bin/emacsclient -c
|
||||
${emacs}/bin/emacsclient -c -a "${emacs}/bin/emacs"
|
||||
'')
|
||||
];
|
||||
nixpkgs.overlays = [
|
||||
|
|
|
|||
|
|
@ -122,6 +122,8 @@ in {
|
|||
|
||||
"$mainMod, P, exec, $makeRegionScreenshot"
|
||||
"$mainMod ALT, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||
|
||||
''$mainMod, E, exec, emacsclient -c -a "send-notify 'Unable to launch Emacs. Daemon is not running'"''
|
||||
];
|
||||
|
||||
bindm = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue