update
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
imports = [
|
||||
./no-gui.nix
|
||||
./progs/alacritty.nix
|
||||
./progs/emacs.nix
|
||||
# ./progs/gpt4all/gpt4all.nix
|
||||
# ./progs/trezor.nix # - broken
|
||||
];
|
||||
|
||||
@@ -45,17 +45,6 @@ let
|
||||
cmake-language-server # cmake lsp
|
||||
];
|
||||
|
||||
|
||||
# Praise be to the church of emacs
|
||||
emacs_stuff = with pkgs; [
|
||||
emacs-unstable-pgtk
|
||||
|
||||
# shell check things
|
||||
shellcheck
|
||||
|
||||
# for search
|
||||
fd
|
||||
];
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
@@ -109,7 +98,6 @@ in
|
||||
ripgrep # grep, but written in rust, respects .gitignore, and very very fast, command is `rg`
|
||||
lurk # better strace
|
||||
|
||||
|
||||
# alternative to `find`
|
||||
fd
|
||||
|
||||
@@ -204,8 +192,7 @@ in
|
||||
jasmin
|
||||
]
|
||||
++ rust_pkgs
|
||||
++ lsps
|
||||
++ emacs_stuff;
|
||||
++ lsps;
|
||||
|
||||
# https://github.com/flamegraph-rs/flamegraph
|
||||
home.file.".cargo/config.toml".text = ''
|
||||
|
||||
16
home-manager/progs/emacs.nix
Normal file
16
home-manager/progs/emacs.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
programs.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacs-unstable-pgtk;
|
||||
extraPackages = epkgs: [
|
||||
epkgs.dracula-theme
|
||||
|
||||
pkgs.shellcheck
|
||||
|
||||
# for file search
|
||||
pkgs.fd
|
||||
];
|
||||
extraConfig = "";
|
||||
};
|
||||
}
|
||||
@@ -130,7 +130,6 @@
|
||||
"${pkgs.fuzzel}/bin/fuzzel"
|
||||
];
|
||||
|
||||
|
||||
"Mod+O".action = toggle-overview;
|
||||
|
||||
# open a terminal
|
||||
|
||||
Reference in New Issue
Block a user