chore: disable emacs aggressive indent

This commit is contained in:
Leon Schwarzäugl 2024-12-31 21:56:51 +01:00
parent ae9e5a6b5d
commit 6f6ac75754
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
4 changed files with 437 additions and 305 deletions

View file

@ -492,7 +492,7 @@ This file defines the templates that are being exposed by the flake. These can b
"default" "default"
]; ];
in in
lib.swarselsystems.mkTemplates templateNames lib.swarselsystems.mkTemplates templateNames
#+end_src #+end_src
@ -4419,7 +4419,8 @@ A breakdown of each function:
path = "${self}/templates/${name}"; path = "${self}/templates/${name}";
description = "${name} project "; description = "${name} project ";
}; };
}) names); })
names);
eachMonitor = _: monitor: { eachMonitor = _: monitor: {
inherit (monitor) name; inherit (monitor) name;
@ -4657,57 +4658,57 @@ Mostly used to install some compilers and lsp's that I want to have available wh
# lsp-related ------------------------------- # lsp-related -------------------------------
# nix # nix
# latex # latex
texlab # texlab
ghostscript_headless ghostscript_headless
# wireguard # wireguard
wireguard-tools wireguard-tools
# rust # rust
rust-analyzer # rust-analyzer
clippy # clippy
rustfmt # rustfmt
# go # go
go # go
gopls # gopls
# nix # nix
nixd nixd
# zig # zig
zig zig
zls zls
# cpp # cpp
clang-tools # clang-tools
# + cuda # + cuda
cudatoolkit # cudatoolkit
# ansible # ansible
# ansible-lint # ansible-lint
# ansible-language-server # ansible-language-server
# molecule # molecule
#lsp-bridge / python #lsp-bridge / python
gcc # gcc
gdb # gdb
# (python3.withPackages (ps: with ps; [ jupyter ipython pyqt5 epc orjson sexpdata six setuptools paramiko numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server ])) # (python3.withPackages (ps: with ps; [ jupyter ipython pyqt5 epc orjson sexpdata six setuptools paramiko numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server ]))
# (python3.withPackages(ps: with ps; [ jupyter ipython pyqt5 numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server])) # (python3.withPackages(ps: with ps; [ jupyter ipython pyqt5 numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server]))
# -------------------------------------------- # --------------------------------------------
(stdenv.mkDerivation { # (stdenv.mkDerivation {
name = "oama"; # name = "oama";
src = pkgs.fetchurl { # src = pkgs.fetchurl {
name = "oama"; # name = "oama";
url = "https://github.com/pdobsan/oama/releases/download/0.13.1/oama-0.13.1-Linux-x86_64-static.tgz"; # url = "https://github.com/pdobsan/oama/releases/download/0.13.1/oama-0.13.1-Linux-x86_64-static.tgz";
sha256 = "sha256-OTdCObVfnMPhgZxVtZqehgUXtKT1iyqozdkPIV+i3Gc="; # sha256 = "sha256-OTdCObVfnMPhgZxVtZqehgUXtKT1iyqozdkPIV+i3Gc=";
}; # };
phases = [ # phases = [
"unpackPhase" # "unpackPhase"
]; # ];
unpackPhase = '' # unpackPhase = ''
mkdir -p $out/bin # mkdir -p $out/bin
tar xvf $src -C $out/ # tar xvf $src -C $out/
mv $out/oama-0.13.1-Linux-x86_64-static/oama $out/bin/ # mv $out/oama-0.13.1-Linux-x86_64-static/oama $out/bin/
''; # '';
}) # })
]; ];
} }
@ -12164,8 +12165,8 @@ Lastly, I load the =highlight-indent-guides= package. This adds a neat visual in
(set-face-attribute 'highlight-indent-guides-stack-even-face nil :background "gray40") (set-face-attribute 'highlight-indent-guides-stack-even-face nil :background "gray40")
(set-face-attribute 'highlight-indent-guides-stack-odd-face nil :background "gray50")) (set-face-attribute 'highlight-indent-guides-stack-odd-face nil :background "gray50"))
(use-package aggressive-indent) ;; (use-package aggressive-indent)
(global-aggressive-indent-mode 1) ;; (global-aggressive-indent-mode 1)
#+end_src #+end_src

File diff suppressed because it is too large Load diff

View file

@ -59,57 +59,57 @@
# lsp-related ------------------------------- # lsp-related -------------------------------
# nix # nix
# latex # latex
texlab # texlab
ghostscript_headless ghostscript_headless
# wireguard # wireguard
wireguard-tools wireguard-tools
# rust # rust
rust-analyzer # rust-analyzer
clippy # clippy
rustfmt # rustfmt
# go # go
go # go
gopls # gopls
# nix # nix
nixd nixd
# zig # zig
zig zig
zls zls
# cpp # cpp
clang-tools # clang-tools
# + cuda # + cuda
cudatoolkit # cudatoolkit
# ansible # ansible
# ansible-lint # ansible-lint
# ansible-language-server # ansible-language-server
# molecule # molecule
#lsp-bridge / python #lsp-bridge / python
gcc # gcc
gdb # gdb
# (python3.withPackages (ps: with ps; [ jupyter ipython pyqt5 epc orjson sexpdata six setuptools paramiko numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server ])) # (python3.withPackages (ps: with ps; [ jupyter ipython pyqt5 epc orjson sexpdata six setuptools paramiko numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server ]))
# (python3.withPackages(ps: with ps; [ jupyter ipython pyqt5 numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server])) # (python3.withPackages(ps: with ps; [ jupyter ipython pyqt5 numpy pandas scipy matplotlib requests debugpy flake8 gnureadline python-lsp-server]))
# -------------------------------------------- # --------------------------------------------
(stdenv.mkDerivation { # (stdenv.mkDerivation {
name = "oama"; # name = "oama";
src = pkgs.fetchurl { # src = pkgs.fetchurl {
name = "oama"; # name = "oama";
url = "https://github.com/pdobsan/oama/releases/download/0.13.1/oama-0.13.1-Linux-x86_64-static.tgz"; # url = "https://github.com/pdobsan/oama/releases/download/0.13.1/oama-0.13.1-Linux-x86_64-static.tgz";
sha256 = "sha256-OTdCObVfnMPhgZxVtZqehgUXtKT1iyqozdkPIV+i3Gc="; # sha256 = "sha256-OTdCObVfnMPhgZxVtZqehgUXtKT1iyqozdkPIV+i3Gc=";
}; # };
phases = [ # phases = [
"unpackPhase" # "unpackPhase"
]; # ];
unpackPhase = '' # unpackPhase = ''
mkdir -p $out/bin # mkdir -p $out/bin
tar xvf $src -C $out/ # tar xvf $src -C $out/
mv $out/oama-0.13.1-Linux-x86_64-static/oama $out/bin/ # mv $out/oama-0.13.1-Linux-x86_64-static/oama $out/bin/
''; # '';
}) # })
]; ];
} }

View file

@ -503,8 +503,8 @@ create a new one."
(set-face-attribute 'highlight-indent-guides-stack-even-face nil :background "gray40") (set-face-attribute 'highlight-indent-guides-stack-even-face nil :background "gray40")
(set-face-attribute 'highlight-indent-guides-stack-odd-face nil :background "gray50")) (set-face-attribute 'highlight-indent-guides-stack-odd-face nil :background "gray50"))
(use-package aggressive-indent) ;; (use-package aggressive-indent)
(global-aggressive-indent-mode 1) ;; (global-aggressive-indent-mode 1)
(setq mouse-wheel-scroll-amount (setq mouse-wheel-scroll-amount
'(1 '(1