Skip to content

Commit

Permalink
Minor fixes for binary paths on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
rounakdatta committed Feb 20, 2024
1 parent 20e2c3c commit 81e4886
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hosts/ckmac/configuration.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ inputs, config, pkgs, ... }:
{ inputs, config, pkgs, lib, ... }:

{
nix.settings = {
Expand Down
1 change: 1 addition & 0 deletions hosts/ckmac/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

imports = [
../../configs
../commons/pass.nix
];

home = {
Expand Down
2 changes: 2 additions & 0 deletions hosts/commons/pass.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
# the following PATH addition is to make sure that binaries like `git`, `emacs`, `ssh` are available for use
export PATH="${config.home.path}/bin:/run/current-system/sw/bin:/etc/profiles/per-user/${config.home.username}/bin:$PATH"
# `ssh` is on the following path in darwin, so there we go
export PATH="/usr/bin:$PATH"
git init
if git remote | grep -q origin; then
Expand Down

0 comments on commit 81e4886

Please sign in to comment.