More Work

This commit is contained in:
Tyrel Souza 2023-01-01 21:16:02 -05:00
parent a25c5392f8
commit 762111fc67
3 changed files with 40 additions and 34 deletions

View File

@ -12,7 +12,7 @@
outputs = { self, nixpkgs, home-manager, darwin }: {
defaultPackage.x86_64-darwin = home-manager.defaultPackage.x86_64-darwin;
homeConfigurations = {
homeConfigurations."ts-tl-mbp" = {
"tyrel" = home-manager.lib.homeManagerConfiguration {
system = "x86_64-darwin";
homeDirectory = "/Users/tyrel";

View File

@ -1,39 +1,56 @@
{ 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, ... }: {
programs.home-manager.enable = true;
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
# '';
#};
home.packages = with pkgs; [
(neovim.override {
vimAlias = true;
})
fish
htop
ripgrep
tmux
wget
];
#home.file.".config/".source = "../../config/";
#home.file."bin".source = "../../bin";
#home.file.".gitconfig".source = "gitconfig";
#home.file.".gitignore".source = "../../gitignore";
#home.file.".hushlogin".source = "../../hushlogin";
#home.file.".pythonstartup.py".source = "../../pythonstartup.py";
#home.file.".shell_aliases".source = "../../shell_aliases";
#home.file.".shell_funcs".source = "../../shell_funcs";
#home.file.".shell_funcs.fish".source = "../../shell_funcs.fish";
#home.file.".tmux".source = "../../tmux";
#home.file.".tmux.conf".source = "../../tmux.conf";
};
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"
"neovim"
"alfred"
"discord"
"slack"
"karabiner-elements"
];
};
fonts.fonts = with pkgs; [
noto-fonts
dejavu_fonts
nerdfonts # Includes font-awesome, material-icons, powerline-fonts
iosevka
];
}

View File

@ -1,11 +0,0 @@
{ ... }: {
programs.home-manager.enable = true;
home.packages = [
];
programs.git = {
enable = true;
};
programs.nvim = {
enable = true;
};
}