Compare commits

..

No commits in common. "a37a72e81f99d5819af55310795504843be80872" and "97dfc062d475ea44b07144e53eea01080f8ad39f" have entirely different histories.

4 changed files with 11 additions and 14 deletions

View file

@ -635,7 +635,7 @@ in
}
}
local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'lua_ls', 'nil_ls'}
local servers = { 'clojure_lsp', 'terraform_lsp', 'zls', 'pyright', 'rust_analyzer', 'tsserver', 'lua_ls'}
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {
on_attach = function(client, bufnr)
@ -645,7 +645,13 @@ in
capabilities = capabilities,
}
end
-- rnix doesn't support gps
lspconfig['rnix'].setup {
on_attach = function(client, bufnr)
format.on_attach(client)
end,
capabilities = capabilities,
}
-- fennel-ls doesn't support gps
lspconfig['fennel-ls'].setup {
on_attach = function(client, bufnr)
@ -859,7 +865,7 @@ in
nodejs
clojure-lsp
clojure
nil
rnix-lsp
terraform-lsp
rust-analyzer
clj-kondo

View file

@ -10,9 +10,9 @@
# ../profiles/monitoring
../profiles/nfs
../profiles/gonic
# ../profiles/headphones # TODO broken on 23.11, see: https://github.com/rembo10/headphones/issues/3320
../profiles/headphones
../profiles/radicale
# ../profiles/seafile # waiting for https://github.com/NixOS/nixpkgs/pull/249523 to be merged
../profiles/seafile
../profiles/syncthing
../profiles/dhyan
../profiles/calibre

View file

@ -9,12 +9,4 @@
mossnet.gonic.user = "headphones";
mossnet.gonic.group = "audio";
networking.firewall.allowedTCPPorts = [ 4747 ];
users.users.gonic = {
uid = config.ids.uids.headphones;
# isSystemUser = true;
group = "audio";
home = "/var/lib/headphones";
createHome = true;
};
}

View file

@ -4,7 +4,6 @@
enable = true;
host = "0.0.0.0";
port = 8181;
package = "${pkgs.unstable.headphones}";
user = "headphones";
group = "audio";
dataDir = "/data/music";