Compare commits

...

5 Commits

Author SHA1 Message Date
Dave Gallant
c93448f171 nix flake update: 2024-02-19_14-15-30 2024-02-19 09:15:30 -05:00
Dave Gallant
2fd50d6fdf Remove unused packages 2024-02-19 09:12:53 -05:00
Dave Gallant
1d4b0cca80 Cleanup extra nixvim config 2024-02-19 08:01:03 -05:00
Dave Gallant
d353adb10d Remove pia alias 2024-02-19 07:58:38 -05:00
Dave Gallant
317577b879 Add copilot-vim to nixvim 2024-02-19 07:56:03 -05:00
4 changed files with 6 additions and 28 deletions

6
flake.lock generated
View File

@@ -204,11 +204,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1708247094, "lastModified": 1708307464,
"narHash": "sha256-H2VS7VwesetGDtIaaz4AMsRkPoSLEVzL/Ika8gnbUnE=", "narHash": "sha256-OloBg9ZCoPrPqy8/ZoaoRB4kza3lKhnI0LuZq5xldhg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "045b51a3ae66f673ed44b5bbd1f4a341d96703bf", "rev": "a332040396d7e3c47883e9c115c1da485712805e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -175,7 +175,6 @@ in {
kns = "kubens"; kns = "kubens";
l = "eza -la --git --group-directories-first"; l = "eza -la --git --group-directories-first";
m = "make"; m = "make";
pia = "sudo openvpn --config ~/pia/$(find ~/pia -execdir basename {} .ovpn ';' -iname \"*.ovpn\" -type f | fzf --exact).ovpn --auth-user-pass ~/pia/pass";
ps = "procs"; ps = "procs";
t = "tmux-sessionizer"; t = "tmux-sessionizer";
tf = "terraform"; tf = "terraform";
@@ -403,6 +402,7 @@ in {
]; ];
plugins = { plugins = {
copilot-vim.enable = true;
cmp-path.enable = true; cmp-path.enable = true;
cmp-treesitter.enable = true; cmp-treesitter.enable = true;
commentary.enable = true; commentary.enable = true;
@@ -512,17 +512,6 @@ in {
vim.cmd([[highlight ExtraWhitespace ctermbg=red guibg=red]]) vim.cmd([[highlight ExtraWhitespace ctermbg=red guibg=red]])
vim.cmd([[match ExtraWhitespace /\s\+$/]]) vim.cmd([[match ExtraWhitespace /\s\+$/]])
-------------------------------------------------------------------------------
-- completion {{{1 -------------------------------------------------------------------
-------------------------------------------------------------------------------
local has_words_before = function()
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil
end
local cmp = require("cmp")
-- folding -- folding
vim.api.nvim_exec( vim.api.nvim_exec(
[[ [[

View File

@@ -29,7 +29,6 @@ in {
fd fd
unstable.github-cli unstable.github-cli
progress progress
glab
hadolint hadolint
nodePackages.eslint nodePackages.eslint
oha oha
@@ -63,6 +62,7 @@ in {
nodePackages.pyright nodePackages.pyright
nodePackages.yaml-language-server nodePackages.yaml-language-server
sumneko-lua-language-server sumneko-lua-language-server
terraform-ls
# monitoring # monitoring
ctop ctop
@@ -102,11 +102,6 @@ in {
neofetch neofetch
pfetch pfetch
# infra
terraform-ls
terraformer
tflint
# nix # nix
alejandra alejandra
cachix cachix
@@ -126,12 +121,6 @@ in {
python310Packages.poetry-core python310Packages.poetry-core
python310Packages.setuptools python310Packages.setuptools
python310Packages.virtualenv python310Packages.virtualenv
# media
youtube-dl
# blog
hugo
]; ];
in in
common; common;

View File

@@ -32,7 +32,6 @@ in {
gnomeExtensions.quick-settings-tweaker gnomeExtensions.quick-settings-tweaker
gnomeExtensions.tailscale-status gnomeExtensions.tailscale-status
gnomeExtensions.tray-icons-reloaded gnomeExtensions.tray-icons-reloaded
google-cloud-sdk
iputils iputils
kazam kazam
legendary-gl legendary-gl
@@ -45,6 +44,7 @@ in {
pavucontrol pavucontrol
pinentry-curses pinentry-curses
podman podman
podman-compose
psst psst
qemu qemu
rustup rustup