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;
|
networkmanager.enable = true;
|
||||||
hostName = "${hostname}";
|
hostName = "${hostname}";
|
||||||
};
|
};
|
||||||
|
|
||||||
console.keyMap = "en";
|
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;
|
nixpkgs.config.allowUnfree = true;
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,6 +16,11 @@
|
||||||
lua_ls = {enable = true;};
|
lua_ls = {enable = true;};
|
||||||
nixd = {
|
nixd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
formatting.command = [ "nixpkgs-fmt" ];
|
||||||
|
nixpkgs.expr = "import <nixpkgs> {}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
pyright = {enable = true;};
|
pyright = {enable = true;};
|
||||||
gopls = {enable = true;};
|
gopls = {enable = true;};
|
||||||
|
|
Loading…
Add table
Reference in a new issue