feat: fix nixfmt
This commit is contained in:
parent
2b593f2e72
commit
a784ba021f
3 changed files with 44 additions and 21 deletions
|
|
@ -435,11 +435,28 @@ require("lazy").setup({
|
|||
|
||||
require("lazy-lsp").setup({
|
||||
configs = {
|
||||
nixd = {
|
||||
settings = {
|
||||
nixd = {
|
||||
options = {
|
||||
nixos = {
|
||||
expr = "(builtins.getFlake \"/home/noa/nixos/\").nixosConfigurations.lambdaOS.options",
|
||||
},
|
||||
home_manager = {
|
||||
expr = "(builtins.getFlake \"/home/noa/nixos/\").homeConfigurations.\"noa@lambdaOS\".options",
|
||||
},
|
||||
},
|
||||
formatting = {
|
||||
command = { "nixfmt" }
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
nil_ls = {
|
||||
settings = {
|
||||
['nil'] = {
|
||||
formatting = {
|
||||
command = { "nixfmt" },
|
||||
command = { "nixfmt" }
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue