115 lines
2.2 KiB
Nix
115 lines
2.2 KiB
Nix
|
# CLI home.nix
|
||
|
{ config, lib, pkgs, inputs, user, ... }:
|
||
|
{
|
||
|
home.shellAliases = {
|
||
|
wget = "wget --hsts-file=${config.xdg.configHome}/wget-hsts";
|
||
|
doas = "sudo";
|
||
|
ls = "ls -l";
|
||
|
ll = "ls -alF";
|
||
|
trim = "awk '{\$1=\$1;print}'";
|
||
|
};
|
||
|
home.sessionPath = [
|
||
|
"${config.home.homeDirectory}/.local/share/go/bin"
|
||
|
];
|
||
|
xdg.configFile = {
|
||
|
"catgirl" = {
|
||
|
source = ../rc/catgirl;
|
||
|
target = "catgirl";
|
||
|
recursive = true;
|
||
|
};
|
||
|
};
|
||
|
xdg = {
|
||
|
userDirs = {
|
||
|
enable = true;
|
||
|
createDirectories = true;
|
||
|
desktop = "${config.home.homeDirectory}/Desktop";
|
||
|
documents = "${config.home.homeDirectory}/Documents";
|
||
|
download = "${config.home.homeDirectory}/Downloads";
|
||
|
music = "${config.home.homeDirectory}/Music";
|
||
|
pictures = "${config.home.homeDirectory}/Pictures";
|
||
|
publicShare = "${config.home.homeDirectory}/Public";
|
||
|
templates = "${config.home.homeDirectory}/Templates";
|
||
|
videos = "${config.home.homeDirectory}/Videos";
|
||
|
};
|
||
|
};
|
||
|
programs = {
|
||
|
go = {
|
||
|
enable = true;
|
||
|
goPath = "${config.xdg.dataHome}/go";
|
||
|
};
|
||
|
neovim = {
|
||
|
extraConfig = ''
|
||
|
let g:limelight_conceal_ctermfg = 'block'
|
||
|
'';
|
||
|
plugins = with pkgs.vimPlugins; [
|
||
|
dracula-nvim
|
||
|
goyo-vim
|
||
|
limelight-vim
|
||
|
vim-nix
|
||
|
vimwiki
|
||
|
];
|
||
|
};
|
||
|
yt-dlp = {
|
||
|
enable = true;
|
||
|
extraConfig = ''
|
||
|
--update
|
||
|
'';
|
||
|
settings = {
|
||
|
embed-thumbnail = true;
|
||
|
embed-subs = true;
|
||
|
sub-langs = "all";
|
||
|
downloader = "aria2c";
|
||
|
downloader-args = "aria2c:'-c -x8 -s8 -k1M'";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
home.packages = with pkgs; [
|
||
|
btfs
|
||
|
burpsuite
|
||
|
catgirl
|
||
|
cava
|
||
|
cifs-utils
|
||
|
cmus
|
||
|
curlie
|
||
|
dig
|
||
|
dogdns
|
||
|
ffmpeg
|
||
|
fq
|
||
|
fx
|
||
|
gitui
|
||
|
gping
|
||
|
gron
|
||
|
hexyl
|
||
|
htmlq
|
||
|
hugo
|
||
|
imagemagick
|
||
|
ipfetch
|
||
|
jo
|
||
|
john
|
||
|
jq
|
||
|
lynis
|
||
|
mdp
|
||
|
mediainfo
|
||
|
metasploit
|
||
|
nikto
|
||
|
oed
|
||
|
pandoc
|
||
|
pdfgrep
|
||
|
profanity
|
||
|
recutils
|
||
|
snort
|
||
|
social-engineer-toolkit
|
||
|
sqlmap
|
||
|
ssss
|
||
|
termshark
|
||
|
thc-hydra
|
||
|
tshark
|
||
|
up
|
||
|
wpscan
|
||
|
yai
|
||
|
yank
|
||
|
yersinia
|
||
|
yq-go
|
||
|
];
|
||
|
}
|