dotfiles/modules/darwin/utilities.nix

47 lines
1.0 KiB
Nix
Raw Normal View History

2022-06-14 11:54:18 +00:00
{ config, pkgs, ... }: {
2022-06-14 03:43:49 +00:00
home-manager.users.${config.user} = {
home.packages = [
visidata # CSV inspector
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
];
programs.alacritty.settings = {
2022-06-14 11:54:18 +00:00
shell.program = "${pkgs.fish}/bin/fish";
keybindings = [
{
key = "F";
mods = "Super";
action = "ToggleSimpleFullscreen";
}
{
key = "L";
mods = "Super";
chars = "\\x1F";
}
];
};
2022-06-14 11:00:12 +00:00
2022-06-14 03:43:49 +00:00
fonts.fonts = with pkgs;
[ (nerdfonts.override { fonts = [ "fira-mono" ]; }) ];
2022-06-14 12:10:02 +00:00
xdg.configFile.hammerspoon = { source = ./hammerspoon; };
2022-06-14 03:43:49 +00:00
};
2022-06-14 12:10:02 +00:00
system.activationScripts.hammerspoon.text = ''
defaults write org.hammerspoon.Hammerspoon MJConfigFile "~/.config/hammerspoon/init.lua"
'';
2022-06-14 03:43:49 +00:00
}