Reformat emacs config
This commit is contained in:
parent
f07ab92268
commit
5500164669
@ -34,7 +34,9 @@ in
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.sessionPath = [ "/home/julian/.config/emacs/bin" ];
|
home.sessionPath = [ "/home/julian/.config/emacs/bin" ];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
|
with pkgs;
|
||||||
|
[
|
||||||
binutils # native-comp needs 'as', provided by this
|
binutils # native-comp needs 'as', provided by this
|
||||||
|
|
||||||
## Doom dependencies
|
## Doom dependencies
|
||||||
@ -62,7 +64,7 @@ in
|
|||||||
dockfmt # docker
|
dockfmt # docker
|
||||||
google-java-format # java
|
google-java-format # java
|
||||||
black # python
|
black # python
|
||||||
unstable.rustfmt # rust
|
rustfmt # rust
|
||||||
shfmt
|
shfmt
|
||||||
pyright
|
pyright
|
||||||
|
|
||||||
@ -71,7 +73,8 @@ in
|
|||||||
# neocmakelsp # cmake
|
# neocmakelsp # cmake
|
||||||
|
|
||||||
emacs-all-the-icons-fonts
|
emacs-all-the-icons-fonts
|
||||||
] ++ lib.optional config.modules.non-nixos.is-nixos emacs;
|
]
|
||||||
|
++ lib.optional config.modules.non-nixos.is-nixos emacs;
|
||||||
|
|
||||||
home.activation.installDoomEmacs = lib.home-manager.hm.dag.entryAfter [ "writeBoundary" ] ''
|
home.activation.installDoomEmacs = lib.home-manager.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||||
if [ ! -d "/home/julian/.config/emacs" ]; then
|
if [ ! -d "/home/julian/.config/emacs" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user