2023-10-24 11:20:35 +01:00
|
|
|
{ config, pkgs, crafted-emacs, ... }:
|
2023-10-23 17:28:05 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
stylix.targets.emacs.enable = false;
|
2023-09-24 12:17:51 +01:00
|
|
|
xdg.configFile = {
|
2023-10-24 09:56:35 +01:00
|
|
|
"emacs/init.el".source = ./init.el;
|
2023-10-27 06:40:20 +01:00
|
|
|
"emacs/snippets".source = ./snippets;
|
2023-10-24 09:56:35 +01:00
|
|
|
"emacs/modules".source = ./modules;
|
2023-10-24 11:20:35 +01:00
|
|
|
"emacs/crafted-emacs".source = crafted-emacs;
|
2023-09-24 12:17:51 +01:00
|
|
|
};
|
2023-10-19 06:33:56 +01:00
|
|
|
services.git-sync = {
|
|
|
|
enable = true;
|
2023-10-26 13:30:44 +01:00
|
|
|
repositories = with config.home; {
|
|
|
|
elfeed = {
|
|
|
|
path = "${homeDirectory}/.elfeed";
|
|
|
|
uri = "git+https://git.xenia.me.uk/xenia/elfeed.git";
|
|
|
|
};
|
2023-10-19 06:33:56 +01:00
|
|
|
};
|
|
|
|
};
|
2023-09-12 08:33:05 +01:00
|
|
|
home = {
|
2023-10-08 14:56:55 +01:00
|
|
|
packages = with pkgs; [
|
|
|
|
# Language-specific requirements
|
|
|
|
sqlite
|
|
|
|
pandoc
|
|
|
|
gfortran
|
2023-10-15 17:02:24 +01:00
|
|
|
rustup
|
2023-10-08 14:56:55 +01:00
|
|
|
texlive.combined.scheme-medium
|
2023-10-28 10:17:15 +01:00
|
|
|
(python3.withPackages
|
|
|
|
(ps: with ps; [ python-lsp-server python-lsp-ruff pylsp-mypy ]))
|
2023-10-24 09:56:35 +01:00
|
|
|
|
|
|
|
# Linters
|
2023-10-08 14:56:55 +01:00
|
|
|
nodePackages.stylelint
|
2023-10-24 09:56:35 +01:00
|
|
|
|
|
|
|
# Formatters
|
|
|
|
nixfmt
|
|
|
|
beautysh
|
|
|
|
black
|
|
|
|
isort
|
|
|
|
nodePackages.fixjson
|
|
|
|
fprettify
|
|
|
|
shellharden
|
|
|
|
shfmt
|
|
|
|
stylua
|
|
|
|
python3Packages.mdformat
|
|
|
|
html-tidy
|
|
|
|
nodePackages.js-beautify
|
|
|
|
|
|
|
|
# LSP Servers
|
|
|
|
nixd
|
|
|
|
fortls
|
|
|
|
shellcheck
|
|
|
|
marksman
|
|
|
|
luajitPackages.lua-lsp
|
|
|
|
texlab
|
2023-10-28 10:17:15 +01:00
|
|
|
# nodePackages.pyright
|
2023-10-24 09:56:35 +01:00
|
|
|
nodePackages.yaml-language-server
|
|
|
|
nodePackages.bash-language-server
|
|
|
|
nodePackages.javascript-typescript-langserver
|
|
|
|
nodePackages.vscode-html-languageserver-bin
|
|
|
|
nodePackages.vscode-css-languageserver-bin
|
|
|
|
nodePackages.vscode-json-languageserver-bin
|
|
|
|
nodePackages.dockerfile-language-server-nodejs
|
2023-10-08 14:56:55 +01:00
|
|
|
];
|
2023-09-12 08:33:05 +01:00
|
|
|
};
|
2023-07-26 15:45:24 +01:00
|
|
|
}
|