179 lines
2.9 KiB
Nix
179 lines
2.9 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
home.file.".local/usr/bin" = {
|
|
source = ./.local/usr/bin;
|
|
recursive = true;
|
|
executable = true;
|
|
};
|
|
home.file.".local/usr/lib/blightmud" = {
|
|
source = ./.local/usr/lib/blightmud;
|
|
recursive = true;
|
|
executable = true;
|
|
};
|
|
home.file.".irssi" = {
|
|
source = ./.irssi;
|
|
recursive = true;
|
|
executable = true;
|
|
};
|
|
home.file.".config/tmuxinator" = {
|
|
source = ./.config/tmuxinator;
|
|
recursive = true;
|
|
};
|
|
home.file.".ssh/allowed_signers".text = ''
|
|
* ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH8P/3yzsruekSaZ9b+yk429VTcfCtI1j8jnkNbPAgnr th3r00t@nixos
|
|
'';
|
|
imports = [
|
|
../modules/shells.nix
|
|
../modules/tmux.nix
|
|
../modules/ranger.nix
|
|
];
|
|
home.packages = with pkgs; [
|
|
autossh
|
|
fastfetch
|
|
ranger
|
|
mpv
|
|
zip
|
|
unzip
|
|
xz
|
|
p7zip
|
|
ripgrep
|
|
jq
|
|
ripgrep
|
|
eza
|
|
fzf
|
|
tmux
|
|
cowsay
|
|
lolcat
|
|
fortune
|
|
gnused
|
|
gnutar
|
|
gnupg
|
|
hugo
|
|
bat
|
|
which
|
|
nix-output-monitor
|
|
devenv
|
|
direnv
|
|
irssi
|
|
luarocks
|
|
lua5_1
|
|
lua-language-server
|
|
basedpyright
|
|
go
|
|
nodejs
|
|
uv
|
|
readline
|
|
cachix
|
|
sqlite
|
|
vifm-full
|
|
zoxide
|
|
(
|
|
python313.withPackages (
|
|
python-pkgs:
|
|
[
|
|
python-pkgs.prompt_toolkit
|
|
python-pkgs.pygments
|
|
python-pkgs.pynvim
|
|
python-pkgs.pudb
|
|
python-pkgs.ptpython
|
|
python-pkgs.ipython
|
|
python-pkgs.pillow
|
|
]
|
|
)
|
|
)
|
|
pyenv
|
|
neovim
|
|
zig
|
|
syncthing
|
|
lazygit
|
|
gopls
|
|
pyright
|
|
ncurses
|
|
rustup
|
|
wayvnc
|
|
gvfs
|
|
inetutils
|
|
sqlitebrowser
|
|
claude-code
|
|
marksman
|
|
unrar
|
|
httpie
|
|
];
|
|
|
|
programs.neovim.plugins = [
|
|
pkgs.vimPlugins.nvim-treesitter.withAllGrammars
|
|
pkgs.VimPlugins.coc-nvim
|
|
];
|
|
programs.taskwarrior = {
|
|
enable = true;
|
|
};
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
}
|