203 lines
4.0 KiB
Nix
203 lines
4.0 KiB
Nix
|
# Buckwheat home.nix
|
||
|
{ config, lib, pkgs, inputs, username, ... }:
|
||
|
{
|
||
|
home.file = {
|
||
|
"xinitrc" = {
|
||
|
source = ../../config/xinitrc;
|
||
|
target = ".xinitrc";
|
||
|
};
|
||
|
"bash_login" = {
|
||
|
source = ../../config/bash_login;
|
||
|
target = ".bash_login";
|
||
|
};
|
||
|
"bash_logout" = {
|
||
|
source = ../../config/bash_logout;
|
||
|
target = ".bash_logout";
|
||
|
};
|
||
|
"bashrc" = {
|
||
|
source = ../../config/bashrc;
|
||
|
target = ".bashrc";
|
||
|
};
|
||
|
};
|
||
|
xdg.configFile = {
|
||
|
"bspwm" = {
|
||
|
source = ../../config/bspwm;
|
||
|
target = "bspwm";
|
||
|
recursive = true;
|
||
|
executable = true;
|
||
|
};
|
||
|
"catgirl" = {
|
||
|
source = ../../config/catgirl;
|
||
|
target = "catgirl";
|
||
|
recursive = true;
|
||
|
};
|
||
|
"dunst" = {
|
||
|
source = ../../config/dunst;
|
||
|
target = "dunst";
|
||
|
recursive = true;
|
||
|
};
|
||
|
"sxhkd" = {
|
||
|
source = ../../config/sxhkd;
|
||
|
target = "sxhkd";
|
||
|
recursive = true;
|
||
|
executable = true;
|
||
|
};
|
||
|
};
|
||
|
home.packages = with pkgs; [
|
||
|
aether
|
||
|
btfs
|
||
|
burpsuite
|
||
|
cava
|
||
|
cifs-utils
|
||
|
clipmenu
|
||
|
cmus
|
||
|
curlie
|
||
|
discord
|
||
|
dig
|
||
|
(dmenu.overrideAttrs (oldAttrs: rec {
|
||
|
configFile = writeText "config.def.h" (builtins.readFile ../../patches/dmenu/config.h);
|
||
|
postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
|
||
|
}))
|
||
|
dogdns
|
||
|
dosbox-staging
|
||
|
ffmpeg
|
||
|
fq
|
||
|
fx
|
||
|
gitui
|
||
|
gping
|
||
|
gron
|
||
|
hexyl
|
||
|
htmlq
|
||
|
hugo
|
||
|
imagemagick
|
||
|
ipfetch
|
||
|
jo
|
||
|
john
|
||
|
jq
|
||
|
lagrange
|
||
|
libreoffice
|
||
|
librewolf
|
||
|
lynis
|
||
|
lynx
|
||
|
mdp
|
||
|
mediainfo
|
||
|
metasploit
|
||
|
minecraft
|
||
|
mixxx
|
||
|
mpv
|
||
|
mullvad-browser
|
||
|
mupdf
|
||
|
nikto
|
||
|
oed
|
||
|
onionshare
|
||
|
pandoc
|
||
|
pdfgrep
|
||
|
profanity
|
||
|
recutils
|
||
|
snort
|
||
|
social-engineer-toolkit
|
||
|
sqlmap
|
||
|
ssss
|
||
|
(st.overrideAttrs (oldAttrs: rec {
|
||
|
configFile = writeText "config.def.h" (builtins.readFile ../../patches/st/config.h);
|
||
|
postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h";
|
||
|
}))
|
||
|
sxiv
|
||
|
termshark
|
||
|
thc-hydra
|
||
|
tor-browser-bundle-bin
|
||
|
tshark
|
||
|
vcv-rack
|
||
|
virt-manager
|
||
|
wpscan
|
||
|
xdo
|
||
|
xsel
|
||
|
yai
|
||
|
yank
|
||
|
yersinia
|
||
|
yq-go
|
||
|
];
|
||
|
programs.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'";
|
||
|
};
|
||
|
};
|
||
|
programs.go = {
|
||
|
enable = true;
|
||
|
goPath = "${config.xdg.dataHome}/go";
|
||
|
};
|
||
|
home.sessionPath = [
|
||
|
"${config.home.homeDirectory}/.local/share/go/bin"
|
||
|
];
|
||
|
home.shellAliases = {
|
||
|
wget = "wget --hsts-file=${config.xdg.configHome}/wget-hsts";
|
||
|
doas = "sudo";
|
||
|
ls = "ls -l";
|
||
|
ll = "ls -alF";
|
||
|
trim = "awk '{\$1=\$1;print}'";
|
||
|
};
|
||
|
xresources.properties = {
|
||
|
"*.foreground" = "#f8f8f2";
|
||
|
"*.background" = "#282a36";
|
||
|
"*.color0" = "#000000";
|
||
|
"*.color8" = "#4d4d4d";
|
||
|
"*.color1" = "#ff5555";
|
||
|
"*.color9" = "#ff6367";
|
||
|
"*.color2" = "#50fa7b";
|
||
|
"*.color10" = "#5af78e";
|
||
|
"*.color3" = "#f1fa8c";
|
||
|
"*.color11" = "#f4f99d";
|
||
|
"*.color4" = "#bd93f9";
|
||
|
"*.color12" = "#caa9fa";
|
||
|
"*.color5" = "#ff79c6";
|
||
|
"*.color13" = "#ff92d0";
|
||
|
"*.color6" = "#8be9fd";
|
||
|
"*.color14" = "#9aedfe";
|
||
|
"*.color7" = "#bfbfbf";
|
||
|
"*.color15" = "#e63636";
|
||
|
"*backarrowKeyIsErase" = true;
|
||
|
"XTerm*renderFont" = true;
|
||
|
"XTerm*faceName" = "ComicMono";
|
||
|
"XTerm*faceSize" = 10;
|
||
|
"XTerm*utf8" = true;
|
||
|
"XTerm*ptyInitialErase" = true;
|
||
|
"XTerm*backarrowKeyIsErase" = false;
|
||
|
};
|
||
|
gtk = {
|
||
|
enable = true;
|
||
|
theme = {
|
||
|
name = "Dracula";
|
||
|
package = pkgs.dracula-theme;
|
||
|
};
|
||
|
iconTheme = {
|
||
|
name = "Papirus-Dark";
|
||
|
package = pkgs.papirus-icon-theme;
|
||
|
};
|
||
|
font = {
|
||
|
name = "Comic Mono";
|
||
|
};
|
||
|
};
|
||
|
xdg = {
|
||
|
systemDirs.data = [
|
||
|
"/var/lib/flatpak/exports/share"
|
||
|
"${config.xdg.dataHome}/flatpak/exports/share"
|
||
|
];
|
||
|
};
|
||
|
services = {
|
||
|
udiskie = {
|
||
|
enable = true;
|
||
|
automount = true;
|
||
|
notify = true;
|
||
|
tray = "auto";
|
||
|
};
|
||
|
};
|
||
|
}
|