This commit is contained in:
2024-11-26 15:43:48 -05:00
parent 239fba826b
commit 370948543d
6 changed files with 53 additions and 10 deletions

View File

@@ -16,6 +16,7 @@ config,
programs.nixvim = {
enable = true;
defaultEditor = true;
vimdiffAlias = true;
colorschemes = {
kanagawa = {
@@ -36,10 +37,6 @@ config,
laststatus = 3;
swapfile = false;
clipboard = {
register = "unnamedplus";
};
breakindent = true;
undofile = true;
ignorecase = true;
@@ -427,16 +424,19 @@ config,
nixd = {
enable = true;
settings = {
nixpkgs = {
expr = "(builtins.getFlake (\"git+file://\" + toString ./.)).inputs.nixpkgs { }";
};
formatting = {
command = ["alejandra"];
};
options = {
nixos = {
expr = "(builtins.getFlake (\"git+file://\" + toString ./.)).nixosConfigurations.desktop.options";
};
nix-darwin = {
expr = "(builtins.getFlake (\"git+file://\" + toString ./.)).darwinConfigurations.macbook.options";
};
home-manager = {
expr = "(import <home-manager/modules> { configuration = ~/.config/home-manager/home.nix; pkgs = import <nixpkgs> {}; }).options";
};
};
};
};
@@ -459,6 +459,9 @@ config,
enable = true;
tslsIntegration = true;
};
gopls = {
enable = true;
};
};
keymaps = {
diagnostic = {
@@ -481,6 +484,9 @@ config,
jest = {
enable = true;
};
go = {
enable = true;
};
};
};
};