dotfiles/hosts/ts-tl-mbp/default.nix
Tyrel Souza f55323d926 fix
2023-01-01 16:04:01 -05:00

39 lines
863 B
Nix

{ pkgs, ... }:
{
# Make sure the nix daemon always runs
services.nix-daemon.enable = true;
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 = {
enable = true;
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"
];
};
}