Replace rnix with nixd

This commit is contained in:
Geoffrey Frogeye 2024-05-10 11:05:48 +02:00
parent 7c74c5e1d9
commit 6e8d8b43c2
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 4 additions and 5 deletions

View file

@ -55,10 +55,6 @@
nixpkgsConfig = { nixpkgsConfig = {
config = { config = {
allowUnfree = true; allowUnfree = true;
# TODO 24.05 rnix-lsp relies on this, but has been removed now
permittedInsecurePackages = [
"nix-2.15.3"
];
}; };
overlays = [ overlays = [
(final: prev: { unstable = unixpkgs.legacyPackages.${prev.system}.pkgs; }) (final: prev: { unstable = unixpkgs.legacyPackages.${prev.system}.pkgs; })

View file

@ -61,7 +61,10 @@
lua-ls.enable = true; # Lua (for Neovim debugging) lua-ls.enable = true; # Lua (for Neovim debugging)
perlpls.enable = config.frogeye.dev.perl; # Perl perlpls.enable = config.frogeye.dev.perl; # Perl
phpactor.enable = config.frogeye.dev.php; # PHP phpactor.enable = config.frogeye.dev.php; # PHP
rnix-lsp.enable = true; # Nix nixd = {
enable = true;
settings.formatting.command = "nixpkgs-fmt";
};
# TODO Something for SQL. sqls is deprecated, sqlls is not in Nixpkgs. Probably needs a DB connection configured anyways? # TODO Something for SQL. sqls is deprecated, sqlls is not in Nixpkgs. Probably needs a DB connection configured anyways?
yamlls.enable = true; # YAML yamlls.enable = true; # YAML
# TODO Check out none-ls # TODO Check out none-ls