nixos-config/home-manager/tools.nix

53 lines
1 KiB
Nix
Raw Permalink Normal View History

2024-06-13 16:28:44 -04:00
{ pkgs, fullname, email, ... }:
2024-05-11 19:19:22 -04:00
{
# Password Store
programs.password-store = {
enable = true;
package = pkgs.pass.withExtensions
(exts: with exts; [ pass-update pass-file pass-otp ]);
};
# MPV
programs.mpv.enable = true;
programs.mpv.scripts = with pkgs.mpvScripts;
[ autoload mpris reload seekTo thumbnail quality-menu ];
programs.mpv.config = {
osc = false;
};
2024-06-13 16:28:44 -04:00
# Git
programs.git = {
enable = true;
userName = fullname;
userEmail = email;
signing.key = "6CB106C25E86A9F7";
signing.signByDefault = true;
extraConfig = {
github.user = "kiana-S";
credential.helper = "store";
safe.directory = [ "/etc/nixos" ];
2024-06-13 16:28:44 -04:00
git.allowForcePush = true;
push.followTags = true;
init.defaultBranch = "main";
};
delta.enable = true;
delta.options = {
features = "decorations";
relative-paths = true;
decorations = {
file-style = "yellow";
hunk-header-style = "line-number syntax";
};
};
};
2024-05-11 19:19:22 -04:00
}