Compare commits
No commits in common. "34d935ee7c4b5a529efb7cb2c16e45fb03aaa240" and "7db580359d794e683a20f481efa5ba4904a2b404" have entirely different histories.
34d935ee7c
...
7db580359d
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ HOST := $(shell hostname)
|
||||||
default: build
|
default: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
nix build --no-link --keep-going .#nixosConfigurations.$(HOST).config.system.build.toplevel
|
nix build --keep-going .#nixosConfigurations.$(HOST).config.system.build.toplevel
|
||||||
|
|
||||||
flathub:
|
flathub:
|
||||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
|
@ -65,7 +65,6 @@
|
||||||
nix-mode
|
nix-mode
|
||||||
lua-mode
|
lua-mode
|
||||||
python-docstring
|
python-docstring
|
||||||
python-pytest
|
|
||||||
auctex
|
auctex
|
||||||
markdown-mode
|
markdown-mode
|
||||||
pandoc-mode
|
pandoc-mode
|
||||||
|
@ -114,11 +113,23 @@
|
||||||
|
|
||||||
## Language servers
|
## Language servers
|
||||||
nixd
|
nixd
|
||||||
lua-language-server
|
|
||||||
rust-analyzer
|
|
||||||
python3Packages.python-lsp-server
|
|
||||||
nodePackages.typescript-language-server
|
|
||||||
|
|
||||||
|
## Interpreters
|
||||||
|
(python3.withPackages (
|
||||||
|
ps: with ps; [
|
||||||
|
tkinter
|
||||||
|
python-lsp-server
|
||||||
|
pylsp-rope
|
||||||
|
rope
|
||||||
|
flake8
|
||||||
|
isort
|
||||||
|
mypy
|
||||||
|
numpy
|
||||||
|
scipy
|
||||||
|
xarray
|
||||||
|
matplotlib
|
||||||
|
]
|
||||||
|
))
|
||||||
];
|
];
|
||||||
xdg.configFile."ruff/pyproject.toml".source = ./ruff.toml;
|
xdg.configFile."ruff/pyproject.toml".source = ./ruff.toml;
|
||||||
}
|
}
|
||||||
|
|
60
system/home/emacs/emacs-packages.nix
Normal file
60
system/home/emacs/emacs-packages.nix
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
epkgs: with epkgs; [
|
||||||
|
# UI
|
||||||
|
base16-theme
|
||||||
|
all-the-icons
|
||||||
|
nerd-icons
|
||||||
|
nerd-icons-completion
|
||||||
|
nerd-icons-corfu
|
||||||
|
nerd-icons-dired
|
||||||
|
nerd-icons-ibuffer
|
||||||
|
minions
|
||||||
|
ligature
|
||||||
|
which-key
|
||||||
|
diff-hl
|
||||||
|
|
||||||
|
# Completion
|
||||||
|
vertico
|
||||||
|
orderless
|
||||||
|
marginalia
|
||||||
|
cape
|
||||||
|
corfu
|
||||||
|
corfu-terminal
|
||||||
|
consult
|
||||||
|
consult-eglot
|
||||||
|
flyspell-correct
|
||||||
|
tempel
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
treesit-auto
|
||||||
|
magit
|
||||||
|
forge
|
||||||
|
apheleia
|
||||||
|
envrc
|
||||||
|
rainbow-delimiters
|
||||||
|
flymake-shellcheck
|
||||||
|
flymake-yamllint
|
||||||
|
flymake-clippy
|
||||||
|
flymake-eslint
|
||||||
|
markdown-mode
|
||||||
|
pandoc-mode
|
||||||
|
python-docstring
|
||||||
|
nix-mode
|
||||||
|
lua-mode
|
||||||
|
|
||||||
|
# Org + LaTeX
|
||||||
|
org-roam
|
||||||
|
org-noter
|
||||||
|
citar
|
||||||
|
auctex
|
||||||
|
htmlize
|
||||||
|
|
||||||
|
# Other
|
||||||
|
password-store
|
||||||
|
emms
|
||||||
|
bbdb
|
||||||
|
ement
|
||||||
|
elfeed
|
||||||
|
elfeed-org
|
||||||
|
elfeed-tube
|
||||||
|
scad-mode
|
||||||
|
]
|
|
@ -4,11 +4,6 @@
|
||||||
(setopt use-package-check-before-init t
|
(setopt use-package-check-before-init t
|
||||||
use-package-enable-imenu-support t)
|
use-package-enable-imenu-support t)
|
||||||
|
|
||||||
(use-package package
|
|
||||||
:config
|
|
||||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
|
||||||
(package-initialize))
|
|
||||||
|
|
||||||
(use-package delight
|
(use-package delight
|
||||||
:demand t)
|
:demand t)
|
||||||
|
|
||||||
|
@ -1105,8 +1100,8 @@
|
||||||
("C-c c e" . eglot)
|
("C-c c e" . eglot)
|
||||||
("C-c c a" . eglot-code-actions)
|
("C-c c a" . eglot-code-actions)
|
||||||
("C-c c r" . eglot-rename))
|
("C-c c r" . eglot-rename))
|
||||||
:hook ((prog-mode . eglot-ensure)
|
:hook ((eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t)))
|
||||||
(eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t))))
|
(nix-mode . (lambda () (if (executable-find "nixd" t) (eglot-ensure)))))
|
||||||
:custom
|
:custom
|
||||||
(eglot-menu-string "lsp")
|
(eglot-menu-string "lsp")
|
||||||
(eglot-send-changes-idle-time 0.5)
|
(eglot-send-changes-idle-time 0.5)
|
||||||
|
@ -1286,9 +1281,6 @@
|
||||||
(use-package python-docstring
|
(use-package python-docstring
|
||||||
:hook python-base-mode)
|
:hook python-base-mode)
|
||||||
|
|
||||||
(use-package python-pytest
|
|
||||||
:defer t)
|
|
||||||
|
|
||||||
(use-package files
|
(use-package files
|
||||||
:custom
|
:custom
|
||||||
(view-read-only t)
|
(view-read-only t)
|
||||||
|
|
9
system/home/emacs/pypoetry.toml
Normal file
9
system/home/emacs/pypoetry.toml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[virtualenvs]
|
||||||
|
create = true
|
||||||
|
in-project = true
|
||||||
|
|
||||||
|
[virtualenvs.options]
|
||||||
|
always-copy = true
|
||||||
|
no-pip = true
|
||||||
|
no-setuptools = true
|
||||||
|
system-site-packages = true
|
Loading…
Reference in a new issue