This commit is contained in:
xqtc161 2024-03-18 21:01:25 +00:00
commit 7c617d7a0f
3 changed files with 23 additions and 1 deletions

View file

@ -6,4 +6,13 @@
... ...
}: { }: {
#nixpkgs.config.permittedInsecurePackages = ["electron-25.9.0" "electron-24.8.6"]; #nixpkgs.config.permittedInsecurePackages = ["electron-25.9.0" "electron-24.8.6"];
nix.settings = {
trusted-users = [ "xqtc" ];
substituters = [
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
} }

View file

@ -23,6 +23,9 @@
colorschemes.catppuccin.enable = true; colorschemes.catppuccin.enable = true;
plugins = { plugins = {
comment-nvim = {
enable = true;
};
indent-blankline.enable = true; indent-blankline.enable = true;
lualine.enable = true; lualine.enable = true;
lsp-format = {enable = true;}; lsp-format = {enable = true;};
@ -331,6 +334,16 @@
key = "<leader>Y"; key = "<leader>Y";
action = ''[["+Y]]''; action = ''[["+Y]]'';
} }
{
mode = ["n"];
key = "<leader>sr";
action = ''
function()
vim.lsp.buf.rename()
end
'';
lua = true;
}
]; ];
}; };
} }

View file

@ -43,7 +43,7 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = ["aarch64-linux"];
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;