Skip to content

Commit

Permalink
fix: darwin - use XDG base directories, fix secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin committed Jan 27, 2025
1 parent 922a59a commit 935c80e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions home/base/tui/editors/neovim/nvim/lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"cmp-tailwind-colors": { "branch": "main", "commit": "4b200e280e9051a26ade776589c2ac246350f5dc" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"conjure": { "branch": "main", "commit": "9197941c0ef05bd594bf8fbcc907129361ed456f" },
"copilot.lua": { "branch": "fix_issue_330", "commit": "538ed7e66cb07186e8083da42e5b3c9752897d72" },
"crates.nvim": { "branch": "main", "commit": "bd35b13e94a292ee6e32c351e05ca2202dc9f070" },
"deno-nvim": { "branch": "master", "commit": "4bc9b5db13e8152b01aed51ce0451cdd38ca6743" },
"dressing.nvim": { "branch": "master", "commit": "3a45525bb182730fe462325c99395529308f431e" },
Expand Down
3 changes: 3 additions & 0 deletions home/darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@
../base/gui
../base/home.nix
];

# enable management of XDG base directories on macOS.
xdg.enable = true;
}
3 changes: 3 additions & 0 deletions modules/darwin/apps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ in {
# "jdk-mission-control" # Java Mission Control
# "google-cloud-sdk" # Google Cloud SDK
"miniforge" # Miniconda's community-driven distribution

# Setup macfuse: https://github.com/macfuse/macfuse/wiki/Getting-Started
"macfuse" # for rclone to mount a fuse filesystem
];
};
}
1 change: 1 addition & 0 deletions secrets/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
};

# place secrets in /etc/
# NOTE: this will fail for the first time. cause it's running before "activate-agenix"
environment.etc = {
# wireguard config used with `wg-quick up wg-business`
# Fix DNS for WireGuard on macOS: https://github.com/ryan4yin/nix-config/issues/5
Expand Down

0 comments on commit 935c80e

Please sign in to comment.