Compare commits
No commits in common. "e703451af2feda7f76e316937907cec0fd9c99fd" and "a394b9cefdb8499d119b91c7cbcf79d107814e8d" have entirely different histories.
e703451af2
...
a394b9cefd
4 changed files with 9 additions and 54 deletions
|
@ -1,13 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
zk
|
||||
nixd
|
||||
terraform-ls
|
||||
python3Packages.python-lsp-server
|
||||
nodePackages.typescript-language-server
|
||||
];
|
||||
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
|
@ -20,7 +11,6 @@
|
|||
normal = "block";
|
||||
select = "underline";
|
||||
};
|
||||
color-modes = true;
|
||||
true-color = true; # to make colors coherent when in ssh
|
||||
# inline-diagnostic = {
|
||||
# cursor-line = "hint";
|
||||
|
@ -33,7 +23,6 @@
|
|||
{
|
||||
name = "nix";
|
||||
language-servers = [ "nixd" ];
|
||||
formatter.command = "nixfmt";
|
||||
}
|
||||
{
|
||||
name = "markdown";
|
||||
|
@ -46,6 +35,10 @@
|
|||
];
|
||||
language-server = {
|
||||
nixd.command = "nixd";
|
||||
vtsls = {
|
||||
command = "vtsls";
|
||||
args = [ "--stdio" ];
|
||||
};
|
||||
zk = {
|
||||
command = "zk";
|
||||
args = [ "lsp" ];
|
||||
|
|
|
@ -254,7 +254,12 @@
|
|||
"picard"
|
||||
])
|
||||
[
|
||||
nixd # TODO probably not the best place
|
||||
terraform-lsp # TODO probably not best place
|
||||
python3Packages.jedi-language-server # TODO probably not best place
|
||||
nodePackages.typescript-language-server # TODO probably not best place
|
||||
cntr # TODO probably not best place
|
||||
nom # FIXME disable on aarch64-linux, breaks everything :(
|
||||
]
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
{
|
||||
programs.bat.enable = true;
|
||||
programs.fzf.enable = true;
|
||||
programs.zk = {
|
||||
enable = true;
|
||||
settings = {
|
||||
notebook.dir = "~/notebook";
|
||||
note = {
|
||||
language = "en";
|
||||
default-title = "Untitled";
|
||||
filename = "{{id}}";
|
||||
extension = "md";
|
||||
template = "default.md";
|
||||
};
|
||||
group.journal = {
|
||||
paths = [ "journal" ];
|
||||
note = {
|
||||
filename = "{{format-date now}}";
|
||||
template = "journal.md";
|
||||
};
|
||||
};
|
||||
format.markdown = {
|
||||
hashtags = false;
|
||||
colon-tags = true;
|
||||
multiword-tags = false;
|
||||
};
|
||||
tool = {
|
||||
pager = "less -FIRX";
|
||||
fzf-preview = "bat --color always {-1}";
|
||||
};
|
||||
lsp.diagnostics = {
|
||||
wiki-title = "hint";
|
||||
dead-link = "error";
|
||||
};
|
||||
lsp.completion = {
|
||||
note-label = "{{title-or-path}}";
|
||||
note-filter-text = "{{title}} {{path}}";
|
||||
note-detail = "{{filename-stem}}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -85,7 +85,6 @@
|
|||
"calibre"
|
||||
"reinstall-magisk-on-lineage"
|
||||
"vscode-server"
|
||||
"zk"
|
||||
];
|
||||
extraGroups = [ ];
|
||||
backupPaths = [ ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue