mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-07 13:03:03 -04:00
55 lines
1 KiB
Nix
55 lines
1 KiB
Nix
{ pkgs, lib, ... }:
|
|
{
|
|
home = {
|
|
packages = with pkgs; [
|
|
# CLI ONLY
|
|
unixtools.xxd
|
|
cloc
|
|
p7zip
|
|
dig
|
|
bat
|
|
usbutils
|
|
tree
|
|
sops
|
|
tlrc
|
|
fzf
|
|
jq
|
|
unzip
|
|
unrar
|
|
# GUI version is in kde.nix
|
|
libqalculate
|
|
patchelf
|
|
];
|
|
sessionVariables = {
|
|
BAT_THEME = "Dracula";
|
|
SSH_ASKPASS_REQUIRE = "prefer";
|
|
};
|
|
sessionPath = [
|
|
"$HOME/.local/bin"
|
|
];
|
|
};
|
|
programs = {
|
|
fzf = {
|
|
enableZshIntegration = true;
|
|
};
|
|
zsh = {
|
|
initExtra = ''
|
|
eval $(fzf --zsh)
|
|
'';
|
|
};
|
|
};
|
|
# FIXME: this errors
|
|
# programs = {
|
|
# zsh = {
|
|
# # patchelf doesnt provide completions by default
|
|
# initExtra = ''
|
|
# eval "$(cat ${
|
|
# pkgs.fetchurl {
|
|
# url = "https://raw.githubusercontent.com/NixOS/patchelf/b9976d63c2bb860a7616dd5b3093571b0b48d2a4/completions/zsh/_patchelf";
|
|
# hash = "sha256-fEnmZhC9sXSqHNz3JFJ30dj658+a6iBtqGq8q4mahyw=";
|
|
# }
|
|
# })";
|
|
# '';
|
|
# };
|
|
# };
|
|
}
|