Compare commits
10 commits
7db580359d
...
34d935ee7c
Author | SHA1 | Date | |
---|---|---|---|
Evie Litherland-Smith | 34d935ee7c | ||
Evie Litherland-Smith | ef8d60af7a | ||
Evie Litherland-Smith | 63a1c95ba4 | ||
Evie Litherland-Smith | 62e8740cd5 | ||
Evie Litherland-Smith | ecba04cbad | ||
Evie Litherland-Smith | 186ae249f6 | ||
Evie Litherland-Smith | 7a06e51a1c | ||
Evie Litherland-Smith | d76e84a071 | ||
Evie Litherland-Smith | f56f7605df | ||
Evie Litherland-Smith | 87692cc787 |
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ HOST := $(shell hostname)
|
||||||
default: build
|
default: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
nix build --keep-going .#nixosConfigurations.$(HOST).config.system.build.toplevel
|
nix build --no-link --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,6 +65,7 @@
|
||||||
nix-mode
|
nix-mode
|
||||||
lua-mode
|
lua-mode
|
||||||
python-docstring
|
python-docstring
|
||||||
|
python-pytest
|
||||||
auctex
|
auctex
|
||||||
markdown-mode
|
markdown-mode
|
||||||
pandoc-mode
|
pandoc-mode
|
||||||
|
@ -113,23 +114,11 @@
|
||||||
|
|
||||||
## 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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,60 +0,0 @@
|
||||||
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,6 +4,11 @@
|
||||||
(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)
|
||||||
|
|
||||||
|
@ -1100,8 +1105,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 ((eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t)))
|
:hook ((prog-mode . eglot-ensure)
|
||||||
(nix-mode . (lambda () (if (executable-find "nixd" t) (eglot-ensure)))))
|
(eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t))))
|
||||||
:custom
|
:custom
|
||||||
(eglot-menu-string "lsp")
|
(eglot-menu-string "lsp")
|
||||||
(eglot-send-changes-idle-time 0.5)
|
(eglot-send-changes-idle-time 0.5)
|
||||||
|
@ -1281,6 +1286,9 @@
|
||||||
(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)
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
[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