-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Stephen Hoekstra <[email protected]>
- Loading branch information
Showing
7 changed files
with
127 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ pkgs, ... }: | ||
|
||
let | ||
imports = [ | ||
./homebrew.nix | ||
]; | ||
|
||
in { | ||
|
||
inherit imports; | ||
|
||
# Make sure the nix daemon always runs | ||
services.nix-daemon.enable = true; | ||
|
||
# Fonts | ||
fonts.fontDir.enable = true; | ||
fonts.fonts = with pkgs; [ | ||
recursive | ||
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) | ||
]; | ||
|
||
# If you use zsh you'll need to enable this so nix-darwin creates a zshrc sourcing needed environment changes | ||
programs.zsh.enable = true; | ||
|
||
home-manager.useGlobalPkgs = true; | ||
home-manager.useUserPackages = true; | ||
home-manager.users."shoekstra" = import ../../users/shoekstra/home.nix; | ||
|
||
# This needs to be to set for things to work (see https://github.com/LnL7/nix-darwin/issues/423) | ||
users.users."shoekstra" = { | ||
home = "/Users/shoekstra"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
homebrew.enable = true; | ||
|
||
homebrew.casks = [ | ||
"iterm2" | ||
"spotify" | ||
"telegram" | ||
"whatsapp" | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,44 @@ in { | |
|
||
# Let Home Manager install and manage itself. | ||
programs.home-manager.enable = true; | ||
|
||
# Packages with modules to configure them. | ||
programs = { | ||
bat = { | ||
enable = true; | ||
|
||
config.theme = "OneHalfDark"; | ||
}; | ||
|
||
git = { | ||
enable = true; | ||
|
||
userName = "Stephen Hoekstra"; | ||
userEmail = "[email protected]"; | ||
|
||
aliases = { | ||
personal = "config user.email [email protected]"; | ||
unstage = "reset HEAD --"; | ||
}; | ||
|
||
extraConfig = { | ||
core.whitespace = "trailing-space,space-before-tab"; | ||
credential.helper = "osxkeychain"; | ||
}; | ||
|
||
signing.key = "DBB82B1442BFA582"; | ||
}; | ||
}; | ||
|
||
programs.gh-dash.enable = true; | ||
programs.gh.enable = true; | ||
programs.gpg.enable = true; | ||
programs.htop.enable = true; | ||
programs.k9s.enable = true; | ||
|
||
# Packages without modules to configure them. | ||
home.packages = with pkgs; [ | ||
mc | ||
tree | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters