nix-conf/home/user/packages.nix
danny 54ab4d4181 feat: yazi extra shortcuts
# Changes
## docs:
- Add extra tutorial docs
## Features:
- Add `pdf combine` to yazi
- Add `pdf normalization` to yazi
- Add `Markdown to html` to yazi
## Breaking Changes:
- Rename sops secret `wireguard/conf` to `wireguard/wg0.conf`: Make sure
update your `sops-conf.nix` and secrets file.
2025-10-01 15:14:19 +08:00

105 lines
1.8 KiB
Nix

{
pkgs,
lib,
inputs,
system,
osConfig,
...
}:
let
md2html = pkgs.callPackage ../scripts/md2html.nix { };
in
{
programs.btop = {
enable = true;
settings = {
theme_background = false;
update_ms = 1000;
};
};
programs.ghostty = {
enable = true;
installBatSyntax = true;
enableFishIntegration = true;
package = inputs.ghostty.packages.${system}.default;
settings = {
unfocused-split-opacity = 0.85;
desktop-notifications = false;
background-opacity = 0.4;
background-blur = false;
wait-after-command = false;
shell-integration = "detect";
window-theme = "dark";
confirm-close-surface = false;
window-decoration = false;
mouse-hide-while-typing = true;
keybind = [ "ctrl+shift+zero=toggle_tab_overview" ];
clipboard-read = "allow";
clipboard-write = "allow";
};
};
home.packages =
with pkgs;
[
obsidian
# Discord
# vesktop
discord
# Dev stuff
(python3.withPackages (python-pkgs: [
python-pkgs.pip
python-pkgs.requests
]))
# Work stuff
libreoffice-qt
pandoc
# Bluetooth
blueberry
# Downloads
qbittorrent
# Utils
cava
papirus-folders
inkscape
# PDF Preview
poppler
trash-cli
# File Manager
nemo
# Thumbnail
ffmpegthumbnailer
thunderbird
md2html
]
++ (
if osConfig.programs.steam.enable then
[
steam-run
protonup
]
else
[ ]
);
home.sessionVariables = lib.mkIf osConfig.programs.steam.enable {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d";
};
}