38 lines
884 B
Nix
38 lines
884 B
Nix
{ pkgs, ... }:
|
|
{
|
|
|
|
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"
|
|
];
|
|
};
|
|
|
|
}
|