mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
nix: sync dev environments across machines
Maybe refactor this out ?
This commit is contained in:
parent
bbe152d652
commit
99fd476ba4
3 changed files with 62 additions and 72 deletions
|
|
@ -1,29 +1,57 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
# utils
|
||||
hyperfine
|
||||
watchexec
|
||||
tea
|
||||
tokei
|
||||
{
|
||||
pkgs,
|
||||
mypkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = let
|
||||
utils = with pkgs; [
|
||||
hyperfine
|
||||
watchexec
|
||||
tea
|
||||
tokei
|
||||
gnumake
|
||||
];
|
||||
|
||||
# Generic LSPs
|
||||
vscode-langservers-extracted # HTML/CSS/JSON/ESLint
|
||||
nodePackages.bash-language-server # Bash
|
||||
marksman # Markdown
|
||||
nodePackages.pyright # Python
|
||||
taplo # TOML
|
||||
texlab # LaTeX
|
||||
typescript # TypeScript
|
||||
nodePackages.vim-language-server # Vim Script
|
||||
lua-language-server # Lua
|
||||
lsps = with pkgs; [
|
||||
vscode-langservers-extracted # HTML/CSS/JSON/ESLint
|
||||
shellcheck
|
||||
nodePackages.bash-language-server
|
||||
marksman
|
||||
nodePackages.pyright
|
||||
taplo
|
||||
nodePackages.vim-language-server
|
||||
lua-language-server
|
||||
];
|
||||
|
||||
(python39.withPackages (ps:
|
||||
with ps; [
|
||||
beautifulsoup4
|
||||
requests
|
||||
]))
|
||||
nix = with pkgs; [
|
||||
nil
|
||||
alejandra
|
||||
];
|
||||
|
||||
nil
|
||||
alejandra
|
||||
];
|
||||
pythonToolchain = [
|
||||
(pkgs.python39.withPackages (ps:
|
||||
with ps; [
|
||||
beautifulsoup4
|
||||
requests
|
||||
|
||||
python-lsp-server
|
||||
rope
|
||||
pyflakes
|
||||
mccabe
|
||||
pycodestyle
|
||||
pydocstyle
|
||||
autopep8
|
||||
]))
|
||||
];
|
||||
in
|
||||
[
|
||||
# University stuff
|
||||
# unstable.opam # maybe I'll need this
|
||||
mypkgs.logisim-evolution
|
||||
pkgs.rars
|
||||
]
|
||||
++ utils
|
||||
++ lsps
|
||||
++ nix
|
||||
++ pythonToolchain;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue