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

@ -9,27 +9,47 @@
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {nixpkgs, home-manager, ...}:
let system = "x86_64-linux";
outputs = { nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
in
{
homeConfigurations.nixos = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
username = "nixos";
homeDirectory = "/home/nixos";
modules = [./home.nix];
modules = [
./home.nix
{
home = {
username = "nixos";
homeDirectory = "/home/nixos";
};
}
];
};
homeConfigurations.ubuntu_admin = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
username = "ubuntu_admin";
homeDirectory = "/home/ubuntu_admin";
modules = [./home.nix];
modules = [
./home.nix
{
home = {
username = "ubuntu_admin";
homeDirectory = "/home/ubuntu_admin";
};
}
];
};
homeConfigurations.hwtr = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
username = "hwtr";
homeDirectory = "/home/hwtr";
modules = [./home.nix];
modules = [
./home.nix
{
home = {
username = "hwtr";
homeDirectory = "/home/hwtr";
};
}
];
};
};
}

View File

@ -415,7 +415,7 @@ local on_attach = function(_client, bufnr)
end
-- 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')
-- tabnine.setup({
-- max_lines = 1000,