chore(home): cleanup modules
Some checks failed
Continuous Integration / Checks (push) Has been cancelled

This commit is contained in:
Tim Schubert 2025-10-10 22:57:02 +02:00
parent 5ec7575655
commit 532612a5a6
No known key found for this signature in database
27 changed files with 272 additions and 1238 deletions

View file

@ -0,0 +1,12 @@
theme = "solarized_light"
[editor]
line-number = "relative"
mouse = true
auto-completion = true
[editor.soft-wrap]
enable = true
[keys.normal]
C-q = [ ":reflow 80" ]

View file

@ -0,0 +1,35 @@
[language-server.rust-analyzer]
config = { rust-analyzer = { checkOnSave = { command = "clippy" }, procMacro.enable = true } }
[language-server.nixd]
command = "nixd"
[language-server.ltex-ls]
command = "ltex-ls"
[language-server.zk]
command = "zk"
args = ["lsp"]
[[language]]
name = "rust"
language-servers = [ {name="rust-analyzer"} ]
[[language]]
name = "latex"
language-servers = [{ name = "ltex-ls" }]
file-types = ["tex"]
scope = "source.latex"
roots = []
[[language]]
name = "nix"
file-types = ["nix"]
language-servers = [{ name = "nixd" }]
[[language]]
name = "markdown"
scope = "source.md"
injection-regex = "md|markdown"
file-types = ["md", "markdown"]
roots = [".zk"]

26
home/helix/default.nix Normal file
View file

@ -0,0 +1,26 @@
{
config,
pkgs,
lib,
...
}:
let
cfg = config.dadada.home.helix;
in
{
options.dadada.home.helix = {
package = lib.mkOption {
type = lib.types.package;
description = "Helix editor package to use";
default = pkgs.helix;
};
};
config = {
home.file.".config/helix".source = ./config;
home.packages = [
cfg.package
#pkgs.nixd
];
};
}