lkdaslkjdsalkjdsalkj

This commit is contained in:
Peder Bergebakken Sundt 2025-03-16 23:05:01 +01:00
parent bc6f3abd25
commit c7ae43d81a
3 changed files with 36 additions and 26 deletions
users/pbsds/home

@ -18,6 +18,7 @@
./profiles/ssh.nix
/* ./profiles/tmate.nix */
./profiles/update-diff.nix
./profiles/desktop/zed/remote.nix
];
# TODO: add remote-exec once packaged

@ -1,35 +1,15 @@
{ lib, pkgs, ... }:
{
home.shellAliases.atom = lib.mkDefault "zed";
home.shellAliases.atom = lib.mkDefault "zeditor";
home.packages = with pkgs; [
unstable.zed-editor
# TODO: should i wrap zed with these? That won't work remotely...
# needed builtin plugins paths:
unstable.package-version-server # Zed autodownloads this
vscode-langservers-extracted # vscode-{css,eslint,html,json,markdown}-language-server
taplo # toml lsp
gopls
pyright # (node) TODO: eww please figure out python-lsp-server!
rust-analyzer # TODO: ra-multiplex
glsl_analyzer
ruff
# simple-completion-language-server # theirs works?
# needed community plugins
nixd
nil
unstable.nixfmt-rfc-style
harper
typos-lsp
# I prefer these in shell.nix
# python3Packages.python-lsp-server
home.packages = [
# the rest are in ./remote.nix
pkgs.unstable.zed-editor
];
imports = [ ./remote.nix ];
# TODO:
#.config/zed/keymap.json
#.config/zed/settings.json

@ -0,0 +1,29 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
# unstable.zed-editor # not for headless remotes
# TODO: should i wrap zed with these? That won't work remotely...
# needed by builtin plugins paths:
unstable.package-version-server # Zed autodownloads this
vscode-langservers-extracted # vscode-{css,eslint,html,json,markdown}-language-server
taplo # toml lsp
gopls
pyright # (node) TODO: eww please figure out python-lsp-server!
rust-analyzer # TODO: ra-multiplex
glsl_analyzer
ruff
# simple-completion-language-server # theirs seem to work?
# needed by community plugins
nixd
nil
unstable.nixfmt-rfc-style
harper
typos-lsp
# I prefer these in shell.nix / virtual environments
# python3Packages.python-lsp-server
];
}