dotfiles/hosts/ts-tl-mbp/default.nix

38 lines
884 B
Nix
Raw Normal View History

2023-01-01 21:00:23 +00:00
{ pkgs, ... }:
{
services.nix-daemon.enable = true;
2023-01-01 21:17:28 +00:00
programs.zsh.enable = true;
system.defaults.dock.autohide = true;
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.tyrel = { pkgs, ... }: {
home.stateVersion = "22.05";
programs.tmux = { # my tmux configuration, for example
enable = true;
keyMode = "vi";
clock24 = true;
historyLimit = 10000;
plugins = with pkgs.tmuxPlugins; [
vim-tmux-navigator
gruvbox
];
extraConfig = ''
new-session -s main
bind-key -n C-a send-prefix
'';
};
};
homebrew = {
2023-01-01 21:04:01 +00:00
enable = true;
2023-01-01 21:17:28 +00:00
autoUpdate = true;
# updates homebrew packages on activation,
# can make darwin-rebuild much slower (otherwise i'd forget to do it ever though)
casks = [
"alfred"
"discord"
2023-01-01 21:04:01 +00:00
];
2023-01-01 21:00:23 +00:00
};
}