various stuff
This commit is contained in:
parent
407160b012
commit
6b44ec946b
15 changed files with 288 additions and 134 deletions
|
@ -15,7 +15,7 @@ in
|
|||
config = mkIf cfg.enable
|
||||
{
|
||||
user.packages = attrValues {
|
||||
inherit (pkgs) vesktop teamspeak_client whatsapp-for-linux;
|
||||
inherit (pkgs) vesktop teamspeak_client;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -9,39 +9,23 @@ in
|
|||
in { enable = mkEnableOption "neo-vim (nixvim)"; };
|
||||
|
||||
config = mkIf config.modules.desktop.editors.nvim.enable {
|
||||
programs.nixvim = {
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim = {
|
||||
statusline.lualine.enable = true;
|
||||
telescope.enable = true;
|
||||
autocomplete.nvim-cmp.enable = true;
|
||||
|
||||
opts = {
|
||||
number = true;
|
||||
languages = {
|
||||
enableLSP = true;
|
||||
enableTreesitter = true;
|
||||
|
||||
shiftwidth = 2;
|
||||
};
|
||||
|
||||
# colorschemes.base16 = "${pkgs.base16-schemes}/share/themes/everforest.yaml";
|
||||
# colorschemes.everforest.enable = true;
|
||||
|
||||
plugins = {
|
||||
lualine.enable = true;
|
||||
lightline.enable = true;
|
||||
|
||||
lsp = {
|
||||
enable = true;
|
||||
servers = {
|
||||
ts_ls.enable = true;
|
||||
lua_ls.enable = true;
|
||||
rust_analyzer = {
|
||||
enable = true;
|
||||
installRustc = true;
|
||||
installCargo = true;
|
||||
};
|
||||
nix.enable = true;
|
||||
ts.enable = true;
|
||||
rust.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
cmp = {
|
||||
enable = true;
|
||||
autoEnableSources = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -19,7 +19,7 @@ in
|
|||
};
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
user = "chris";
|
||||
user = config.user.name;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue