configured nixd
This commit is contained in:
parent
530eff03e7
commit
d73191e526
2 changed files with 11 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, hostname, ... }:
|
||||
{ lib, config, inputs, hostname, ... }:
|
||||
{
|
||||
|
||||
|
||||
|
@ -29,8 +29,12 @@
|
|||
networkmanager.enable = true;
|
||||
hostName = "${hostname}";
|
||||
};
|
||||
|
||||
console.keyMap = "en";
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix = {
|
||||
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
};
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
|
|
@ -16,6 +16,11 @@
|
|||
lua_ls = {enable = true;};
|
||||
nixd = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
formatting.command = [ "nixpkgs-fmt" ];
|
||||
nixpkgs.expr = "import <nixpkgs> {}";
|
||||
};
|
||||
};
|
||||
pyright = {enable = true;};
|
||||
gopls = {enable = true;};
|
||||
|
|
Loading…
Add table
Reference in a new issue