mend
parent
0146737743
commit
498b049250
|
@ -9,27 +9,47 @@
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
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];
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue