dotfiles/modules/darwin/utilities.nix

33 lines
767 B
Nix
Raw Normal View History

2022-06-21 21:51:27 +00:00
{ config, pkgs, lib, ... }: {
2022-06-14 03:43:49 +00:00
home-manager.users.${config.user} = {
2022-06-18 17:17:11 +00:00
home.packages = with pkgs; [
2022-07-01 12:45:07 +00:00
# visidata # CSV inspector
2022-06-14 03:43:49 +00:00
dos2unix # Convert Windows text files
inetutils # Includes telnet
youtube-dl # Convert web videos
pandoc # Convert text documents
mpd # TUI slideshows
awscli2
awslogs
kubectl
k9s
noti # Create notifications programmatically
2022-07-31 19:01:45 +00:00
ipcalc
2022-07-29 05:00:52 +00:00
(pkgs.writeScriptBin "ocr"
2022-07-26 03:15:26 +00:00
(builtins.readFile ../shell/bash/scripts/ocr.sh))
2022-06-14 03:43:49 +00:00
];
2022-06-21 21:51:27 +00:00
programs.fish.shellAbbrs = {
# Add noti for ghpr in Darwin
ghpr = lib.mkForce "gh pr create && sleep 3 && noti gh run watch";
2022-07-26 03:15:26 +00:00
# Shortcut to edit hosts file
hosts = "sudo nvim /etc/hosts";
2022-06-21 21:51:27 +00:00
};
2022-06-18 17:17:11 +00:00
};
2022-06-14 03:43:49 +00:00
}