Adding nixvim
This commit is contained in:
153
home/common.nix
153
home/common.nix
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
|
||||
{
|
||||
home.file.".local/usr/bin" = {
|
||||
@@ -27,7 +27,10 @@
|
||||
../modules/shells.nix
|
||||
../modules/tmux.nix
|
||||
../modules/ranger.nix
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
../modules/nixvim/nixvim.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
autossh
|
||||
elinks
|
||||
@@ -85,7 +88,7 @@
|
||||
)
|
||||
)
|
||||
pyenv
|
||||
neovim
|
||||
# neovim provided by nixvim
|
||||
zig
|
||||
syncthing
|
||||
lazygit
|
||||
@@ -103,78 +106,86 @@
|
||||
httpie
|
||||
];
|
||||
|
||||
programs.neovim.plugins = [
|
||||
pkgs.vimPlugins.nvim-treesitter.withAllGrammars
|
||||
pkgs.VimPlugins.coc-nvim
|
||||
];
|
||||
programs.taskwarrior = {
|
||||
enable = true;
|
||||
programs = {
|
||||
|
||||
neovim.plugins = [
|
||||
pkgs.vimPlugins.nvim-treesitter.withAllGrammars
|
||||
pkgs.VimPlugins.coc-nvim
|
||||
];
|
||||
|
||||
taskwarrior = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
|
||||
fzf = {
|
||||
enable = true;
|
||||
tmux.enableShellIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
colors = {
|
||||
fg = "#d0d0d0";
|
||||
bg = "#24283b";
|
||||
hl = "#5f87af";
|
||||
"fg+" = "#d0d0d0";
|
||||
"bg+" = "#414868";
|
||||
"hl+" = "#5fd7ff";
|
||||
info = "#afaf87";
|
||||
prompt = "#d7005f";
|
||||
pointer = "#af5fff";
|
||||
marker = "#87ff00";
|
||||
spinner = "#af5fff";
|
||||
header = "#87afaf";
|
||||
};
|
||||
};
|
||||
|
||||
git = {
|
||||
enable = true;
|
||||
userName = "th3r00t";
|
||||
userEmail = "tty303@proton.me";
|
||||
extraConfig = {
|
||||
commit.gpgSign = true;
|
||||
gpg.format = "ssh";
|
||||
gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
|
||||
user.signingkey = "~/.ssh/id_ed25519.pub";
|
||||
};
|
||||
};
|
||||
|
||||
direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
eza = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
ssh = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
Host *
|
||||
ServerAliveInterval 30
|
||||
ServerAliveCountMax 3
|
||||
AddKeysToAgent yes
|
||||
'';
|
||||
matchBlocks = {
|
||||
samphone = {
|
||||
host = "10.0.0.153";
|
||||
user = "u0_a771";
|
||||
port = 8022;
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
};
|
||||
git = {
|
||||
host = "10.0.0.125";
|
||||
user = "git";
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
guiAddress = "0.0.0.0:8384";
|
||||
};
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
tmux.enableShellIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
colors = {
|
||||
fg = "#d0d0d0";
|
||||
bg = "#24283b";
|
||||
hl = "#5f87af";
|
||||
"fg+" = "#d0d0d0";
|
||||
"bg+" = "#414868";
|
||||
"hl+" = "#5fd7ff";
|
||||
info = "#afaf87";
|
||||
prompt = "#d7005f";
|
||||
pointer = "#af5fff";
|
||||
marker = "#87ff00";
|
||||
spinner = "#af5fff";
|
||||
header = "#87afaf";
|
||||
};
|
||||
};
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "th3r00t";
|
||||
userEmail = "tty303@proton.me";
|
||||
extraConfig = {
|
||||
commit.gpgSign = true;
|
||||
gpg.format = "ssh";
|
||||
gpg.ssh.allowedSignersFile = "~/.ssh/allowed_signers";
|
||||
user.signingkey = "~/.ssh/id_ed25519.pub";
|
||||
};
|
||||
};
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
Host *
|
||||
ServerAliveInterval 30
|
||||
ServerAliveCountMax 3
|
||||
AddKeysToAgent yes
|
||||
'';
|
||||
matchBlocks = {
|
||||
samphone = {
|
||||
host = "10.0.0.153";
|
||||
user = "u0_a771";
|
||||
port = 8022;
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
};
|
||||
git = {
|
||||
host = "10.0.0.125";
|
||||
user = "git";
|
||||
identityFile = "~/.ssh/id_ed25519";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user