moved gaming configuration to /sys module, added a bunch of neovim plugins

This commit is contained in:
pagedmov
2024-10-20 15:48:30 -04:00
parent 50fa171e6c
commit 0cfcd2e414
15 changed files with 67 additions and 30 deletions

View File

@@ -10,7 +10,7 @@
}:
let
desktop_modules = if (host == "oganesson") then
[(import ./virtualization.nix)]
[(import ./virtualization.nix)] ++ [(import ./gaming)]
else [];
in
{

View File

@@ -0,0 +1,7 @@
{ ... }:
{
imports =
[(import ./steam.nix)]
++ [(import ./gaming_pkgs.nix)];
}

View File

@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
snes9x-gtk
];
}

View File

@@ -0,0 +1,6 @@
{...}: {
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
};
}

View File

@@ -26,6 +26,11 @@
key = "<F2>";
mode = "t";
}
{
action = "<cmd>COQnow<CR>";
key = "!cq";
mode = "n";
}
];
};
}

View File

@@ -1,7 +1,7 @@
{
programs.nixvim = {
plugins.barbar = {
enable = true;
enable = false;
settings = {
auto_hide = 1;
};

View File

@@ -8,5 +8,8 @@
{name = "buffer";}
];
};
plugins.cmp-nvim-lsp.enable = true;
plugins.cmp-nvim-lsp-document-symbol.enable = true;
plugins.cmp-nvim-lsp-signature-help.enable = true;
};
}

View File

@@ -3,7 +3,7 @@
plugins.coq-nvim = {
enable = true;
settings = {
auto_start = true;
auto_start = false;
};
};
};

View File

@@ -1,6 +1,7 @@
{
imports = [
./alpha.nix
./haskell.nix
./vim-matchup.nix
./coq.nix
./barbar.nix

View File

@@ -0,0 +1,18 @@
{ pkgs, ... }: {
programs.nixvim = {
extraPlugins = [
(pkgs.vimUtils.buildVimPlugin {
name = "haskell-tools.nvim";
src = pkgs.fetchFromGitHub {
owner = "mrcjkb";
repo = "haskell-tools.nvim";
rev = "39c4ced6f1bff1abc8d4df5027efd11ac38c6e6c";
hash = "sha256-f+M35EwAlHwjJ2Xs2u9FLnyH0FJT22D0LLShDXCbEEs=";
};
})
];
plugins = {
haskell-scope-highlighting.enable = true;
};
};
}

View File

@@ -14,6 +14,10 @@
nil_ls.enable = true;
pyright.enable = true;
sqls.enable = true;
hls = {
enable = true;
installGhc = true;
};
};
};
};

View File

@@ -1,24 +1,29 @@
{
programs.nixvim = {
plugins = {
nvim-surround.enable = true;
indent-blankline.enable = true;
treesitter.enable = true;
lastplace.enable = true;
markdown-preview.enable = true;
gitsigns.enable = true;
web-devicons.enable = true;
endwise.enable = true;
marks.enable = true;
trouble.enable = true;
floaterm.enable = true;
fugitive.enable = true;
rustaceanvim.enable = true;
firenvim.enable = true;
dap = {
dap = {
enable = true;
extensions.dap-ui.enable = true;
};
nix.enable = true;
neoscroll.enable = true;
endwise.enable = true;
firenvim.enable = true;
floaterm.enable = true;
fugitive.enable = true;
gitsigns.enable = true;
indent-blankline.enable = true;
lastplace.enable = true;
markdown-preview.enable = true;
marks.enable = true;
nvim-surround.enable = true;
rainbow-delimiters.enable = true;
render-markdown.enable = true;
rustaceanvim.enable = true;
treesitter.enable = true;
trim.enable = true;
trouble.enable = true;
web-devicons.enable = true;
};
};
}

View File

@@ -9,6 +9,7 @@
alsa-utils
bc
cava
cabal-install
clang
clang-tools
cmake