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
|
font-awesome
|
||||||
hack-font
|
hack-font
|
||||||
corefonts
|
corefonts
|
||||||
|
nerd-fonts.symbols-only
|
||||||
vistafonts
|
vistafonts
|
||||||
];
|
];
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
|
|
@ -372,8 +373,16 @@
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = ["nix-command" "flakes"];
|
experimental-features = ["nix-command" "flakes"];
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
substituters = ["https://hyprland.cachix.org" "https://nix-gaming.cachix.org"];
|
substituters = [
|
||||||
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
|
"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,
|
inputs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
emacs = pkgs.emacs;
|
emacs = pkgs.emacs;#pkgs.emacs-pgtk;
|
||||||
in {
|
in {
|
||||||
services.emacs.enable = true;
|
services.emacs.enable = true;
|
||||||
services.emacs.startWithGraphical = true;
|
services.emacs.startWithGraphical = true;
|
||||||
|
|
@ -14,11 +14,26 @@ in {
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
|
libvterm
|
||||||
|
libtool
|
||||||
emacs
|
emacs
|
||||||
ripgrep
|
ripgrep
|
||||||
fd
|
fd
|
||||||
coreutils
|
coreutils
|
||||||
clang
|
clang
|
||||||
|
cmake
|
||||||
|
nixfmt-rfc-style
|
||||||
|
markdownlint-cli
|
||||||
|
pandoc
|
||||||
|
gnumake
|
||||||
|
python3
|
||||||
|
isort
|
||||||
|
pipenv
|
||||||
|
python313Packages.nose2
|
||||||
|
python313Packages.pytest
|
||||||
|
shellcheck
|
||||||
|
nodejs_23
|
||||||
|
|
||||||
(pkgs.writeShellScriptBin "doom-install" ''
|
(pkgs.writeShellScriptBin "doom-install" ''
|
||||||
${pkgs.git}/bin/git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.d
|
${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
|
${pkgs.git}/bin/git clone https://github.com/KyleKrein/doomemacs.git ~/.doom.d
|
||||||
|
|
@ -33,7 +48,7 @@ in {
|
||||||
~/.emacs.d/bin/doom upgrade
|
~/.emacs.d/bin/doom upgrade
|
||||||
'')
|
'')
|
||||||
(pkgs.writeShellScriptBin "doom" ''
|
(pkgs.writeShellScriptBin "doom" ''
|
||||||
${emacs}/bin/emacsclient -c
|
${emacs}/bin/emacsclient -c -a "${emacs}/bin/emacs"
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
|
|
||||||
|
|
@ -122,6 +122,8 @@ in {
|
||||||
|
|
||||||
"$mainMod, P, exec, $makeRegionScreenshot"
|
"$mainMod, P, exec, $makeRegionScreenshot"
|
||||||
"$mainMod ALT, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
"$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 = [
|
bindm = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue