nix-components
pegasust 2022-11-07 18:36:01 +00:00
parent 0146737743
commit 498b049250
2 changed files with 33 additions and 13 deletions

View File

@ -10,26 +10,46 @@
}; };
outputs = { nixpkgs, home-manager, ... }: outputs = { nixpkgs, home-manager, ... }:
let system = "x86_64-linux"; let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in { in
{
homeConfigurations.nixos = home-manager.lib.homeManagerConfiguration { homeConfigurations.nixos = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
modules = [
./home.nix
{
home = {
username = "nixos"; username = "nixos";
homeDirectory = "/home/nixos"; homeDirectory = "/home/nixos";
modules = [./home.nix]; };
}
];
}; };
homeConfigurations.ubuntu_admin = home-manager.lib.homeManagerConfiguration { homeConfigurations.ubuntu_admin = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
modules = [
./home.nix
{
home = {
username = "ubuntu_admin"; username = "ubuntu_admin";
homeDirectory = "/home/ubuntu_admin"; homeDirectory = "/home/ubuntu_admin";
modules = [./home.nix]; };
}
];
}; };
homeConfigurations.hwtr = home-manager.lib.homeManagerConfiguration { homeConfigurations.hwtr = home-manager.lib.homeManagerConfiguration {
inherit pkgs; inherit pkgs;
modules = [
./home.nix
{
home = {
username = "hwtr"; username = "hwtr";
homeDirectory = "/home/hwtr"; homeDirectory = "/home/hwtr";
modules = [./home.nix]; };
}
];
}; };
}; };
} }

View File

@ -415,7 +415,7 @@ local on_attach = function(_client, bufnr)
end end
-- nvim-cmp supports additional completion capabilities -- nvim-cmp supports additional completion capabilities
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()) local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
-- local tabnine = require('cmp_tabnine.config') -- local tabnine = require('cmp_tabnine.config')
-- tabnine.setup({ -- tabnine.setup({
-- max_lines = 1000, -- max_lines = 1000,