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 }: { outputs = { self, nixpkgs, home-manager, darwin }: {
defaultPackage.x86_64-darwin = home-manager.defaultPackage.x86_64-darwin; defaultPackage.x86_64-darwin = home-manager.defaultPackage.x86_64-darwin;
homeConfigurations = { homeConfigurations."ts-tl-mbp" = {
"tyrel" = home-manager.lib.homeManagerConfiguration { "tyrel" = home-manager.lib.homeManagerConfiguration {
system = "x86_64-darwin"; system = "x86_64-darwin";
homeDirectory = "/Users/tyrel"; homeDirectory = "/Users/tyrel";

View File

@ -1,39 +1,56 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
services.nix-daemon.enable = true; services.nix-daemon.enable = true;
programs.zsh.enable = true; programs.zsh.enable = true;
system.defaults.dock.autohide = true; system.defaults.dock.autohide = true;
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.tyrel = { pkgs, ... }: { home-manager.users.tyrel = { pkgs, ... }: {
programs.home-manager.enable = true;
home.stateVersion = "22.05"; home.stateVersion = "22.05";
#programs.tmux = { # my tmux configuration, for example
# enable = true; home.packages = with pkgs; [
# keyMode = "vi"; (neovim.override {
# clock24 = true; vimAlias = true;
# historyLimit = 10000; })
# plugins = with pkgs.tmuxPlugins; [ fish
# vim-tmux-navigator htop
# gruvbox ripgrep
# ]; tmux
# extraConfig = '' wget
# new-session -s main ];
# bind-key -n C-a send-prefix
# ''; #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 = { homebrew = {
enable = true; 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 = [ casks = [
"alfred" "alfred"
"discord" "discord"
"neovim" "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;
};
}