mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
unfreePackages = [ "consul" "vault-bin" ];
|
|
|
|
home-manager.users.${config.user} = lib.mkIf pkgs.stdenv.isDarwin {
|
|
|
|
home.packages = with pkgs; [
|
|
visidata # CSV inspector
|
|
dos2unix # Convert Windows text files
|
|
inetutils # Includes telnet
|
|
youtube-dl # Convert web videos
|
|
pandoc # Convert text documents
|
|
mpd # TUI slideshows
|
|
mpv # Video player
|
|
gnupg # Encryption
|
|
awscli2
|
|
awslogs
|
|
google-cloud-sdk
|
|
vault-bin
|
|
consul
|
|
noti # Create notifications programmatically
|
|
ipcalc # Make IP network calculations
|
|
(writeShellApplication {
|
|
name = "ocr";
|
|
runtimeInputs = [ tesseract ];
|
|
text = builtins.readFile ../../modules/common/shell/bash/scripts/ocr.sh;
|
|
})
|
|
];
|
|
|
|
programs.fish.shellAbbrs = {
|
|
# Add noti for ghpr in Darwin
|
|
ghpr = lib.mkForce "gh pr create && sleep 3 && noti gh run watch";
|
|
grw = lib.mkForce "noti gh run watch";
|
|
|
|
# Shortcut to edit hosts file
|
|
hosts = "sudo nvim /etc/hosts";
|
|
};
|
|
|
|
};
|
|
|
|
}
|