Skip to content

Commit

Permalink
Start to manage darwin specific dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Aug 2, 2023
1 parent 7b29e80 commit e0f0a77
Show file tree
Hide file tree
Showing 4 changed files with 948 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ dist/
tmp/

.direnv

# macOS
**/AppSupport
6 changes: 6 additions & 0 deletions home-manager/darwin.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{ ... }:

# https://github.com/nix-community/home-manager/blob/master/modules/programs/lazygit.nix
{
xdg.configFile."iterm2/com.googlecode.iterm2.plist".source = ../home/.config/iterm2/com.googlecode.iterm2.plist;
}
7 changes: 6 additions & 1 deletion home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
./zsh.nix
./fish.nix
./git.nix
];
] ++ (
if pkgs.stdenv.hostPlatform.isDarwin then
[ ./darwin.nix ]
else
[ ]
);

home.username = lib.mkDefault "kachick";
# TODO: How to cover lima? The default is /home/kachick.local
Expand Down
Loading

0 comments on commit e0f0a77

Please sign in to comment.