random stuff

This commit is contained in:
randomuser 2023-08-13 20:13:48 -05:00
parent 945ce02505
commit c2d7704eeb
4 changed files with 36 additions and 21 deletions

View File

@ -7,12 +7,9 @@
];
environment.systemPackages = with pkgs; [
xbrightness
gnome.cheese
musescore
magic-wormhole
libsForQt5.kdenlive
calcurse
];
services.tlp.enable = true;

2
builds/utils/sh/rebuild Executable file
View File

@ -0,0 +1,2 @@
cd ~/dot_testing
sudo nixos-rebuild -I nixos-config=./boxes/$(hostname).nix switch

View File

@ -43,6 +43,7 @@ in {
xscreensaver
ncpamixer
gpick
calcurse
dunst
libnotify
tig
@ -59,6 +60,13 @@ in {
remind
python3
pinentry-curses
magic-wormhole
xbrightness
unzip
lua-language-server
rnix-lsp
python311Packages.jedi-language-server
ungoogled-chromium
discord

View File

@ -158,29 +158,26 @@ end
local packer_bootstrap = ensure_packer()
local packaer = require('packer').startup(function(use)
local packer = require('packer').startup(function(use)
use 'wbthomason/packer.nvim'
use 'nvim-lua/plenary.nvim'
use 'nvim-telescope/telescope.nvim'
use {
'VonHeikemen/lsp-zero.nvim',
reqiures = {
-- LSP Support
'neovim/nvim-lspconfig',
'williamboman/mason.nvim',
'williamboman/mason-lspconfig.nvim',
-- Autocompletion
'hrsh7th/nvim-cmp',
'hrsh7th/cmp-nvim-lsp',
'L3MON4D3/LuaSnip',
}
}
use 'tpope/vim-surround'
use 'tpope/vim-commentary'
use 'tpope/vim-fugitive'
use 'VonHeikemen/lsp-zero.nvim'
use 'neovim/nvim-lspconfig'
use 'hrsh7th/nvim-cmp'
use 'hrsh7th/cmp-nvim-lsp'
use 'L3MON4D3/LuaSnip'
use 'https://github.com/vimwiki/vimwiki.git'
use 'lervag/vimtex'
use {
"folke/which-key.nvim",
config = function()
vim.o.timeout = true
vim.o.timeoutlen = 300
-- require("which-key").setup {
-- }
end
}
if packer_bootstrap then
require('packer').sync()
@ -195,6 +192,17 @@ lsp.on_attach(function(client, bufnr)
lsp.default_keymaps({buffer = bufnr})
end)
local lspconfig = require('lspconfig')
lsp.ensure_installed({
'rnix',
'jedi_language_server',
})
lspconfig.lua_ls.setup(lsp.nvim_lua_ls())
lspconfig.rnix.setup({})
lspconfig.jedi_language_server.setup({})
lsp.setup()
-- }}}