various stuff

This commit is contained in:
Chris Kruining 2025-03-09 23:30:26 +01:00
parent 407160b012
commit 6b44ec946b
15 changed files with 288 additions and 134 deletions

View file

@ -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;
};
};
}

View file

@ -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;
};
};
};
};

View file

@ -19,7 +19,7 @@ in
};
autoLogin = {
enable = true;
user = "chris";
user = config.user.name;
};
};