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; [ environment.systemPackages = with pkgs; [
xbrightness
gnome.cheese gnome.cheese
musescore musescore
magic-wormhole
libsForQt5.kdenlive libsForQt5.kdenlive
calcurse
]; ];
services.tlp.enable = true; 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 xscreensaver
ncpamixer ncpamixer
gpick gpick
calcurse
dunst dunst
libnotify libnotify
tig tig
@ -59,6 +60,13 @@ in {
remind remind
python3 python3
pinentry-curses pinentry-curses
magic-wormhole
xbrightness
unzip
lua-language-server
rnix-lsp
python311Packages.jedi-language-server
ungoogled-chromium ungoogled-chromium
discord discord

View File

@ -158,29 +158,26 @@ end
local packer_bootstrap = ensure_packer() local packer_bootstrap = ensure_packer()
local packaer = require('packer').startup(function(use) local packer = require('packer').startup(function(use)
use 'wbthomason/packer.nvim' use 'wbthomason/packer.nvim'
use 'nvim-lua/plenary.nvim' use 'nvim-lua/plenary.nvim'
use 'nvim-telescope/telescope.nvim' use 'nvim-telescope/telescope.nvim'
use { use 'VonHeikemen/lsp-zero.nvim'
'VonHeikemen/lsp-zero.nvim', use 'neovim/nvim-lspconfig'
reqiures = { use 'hrsh7th/nvim-cmp'
-- LSP Support use 'hrsh7th/cmp-nvim-lsp'
'neovim/nvim-lspconfig', use 'L3MON4D3/LuaSnip'
'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 'https://github.com/vimwiki/vimwiki.git' use 'https://github.com/vimwiki/vimwiki.git'
use 'lervag/vimtex' 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 if packer_bootstrap then
require('packer').sync() require('packer').sync()
@ -195,6 +192,17 @@ lsp.on_attach(function(client, bufnr)
lsp.default_keymaps({buffer = bufnr}) lsp.default_keymaps({buffer = bufnr})
end) 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() lsp.setup()
-- }}} -- }}}