nix-config/dev/default.nix

66 lines
1018 B
Nix
Raw Normal View History

2023-05-19 08:54:35 +02:00
{ pkgs, ... }:
2023-05-18 21:54:15 +02:00
{
programs.npm.enable = true;
home-manager.sharedModules = [{
editorconfig = {
enable = true;
settings = {
"*" = {
charset = "utf-8";
end_of_line = "lf";
insert_final_newline = true;
indent_size = 2;
indent_style = "space";
trim_trailing_whitespace = true;
};
"*.md".indent_style = "tab";
"Makefile" = {
indent_style = "tab";
indent_size = 4;
};
"*.html" = {
indent_style = "tab";
indent_size = 4;
};
"*.go" = {
indent_style = "tab";
indent_size = 4;
};
};
};
}];
2023-05-19 08:54:35 +02:00
environment.systemPackages = with pkgs; [
marksman
2023-05-23 23:12:35 +02:00
gopls
lua-language-server
clang-tools
texlab
# nix
nil
nixfmt
nixos-generators
# node/yarn/deno
nodejs
yarn
deno
# rust
gcc
rustc
rustfmt
cargo
rust-analyzer
bacon
2023-05-18 21:54:15 +02:00
];
}