Skip to content

Commit

Permalink
Install lima with nixpkgs in macOS since it has been udpated
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Nov 19, 2024
1 parent da0a7c5 commit d8357d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ block-beta
end
block:vm:3
lima("Lima") wsl2("WSL2")
lima("Lima") wsl2("WSL2")
end
block:container:3
Expand Down Expand Up @@ -173,13 +173,15 @@ Check [traps](./windows/Multi-booting.md)

## macOS

Apply home-manager with `kachick@macbook` for minimum packages.
I basically [give up to maintain macOS environment](https://github.com/kachick/dotfiles/issues/911).

I basically [give up to maintain macOS environment](https://github.com/kachick/dotfiles/issues/911). Use [Lima](#lima) for development tasks.
1. Apply home-manager with `kachick@macbook` for minimum packages.
1. Install [some packages](https://github.com/kachick/dotfiles/wiki/macOS) without Nix
1. Use [Lima](#lima) for development tasks.

## [Lima](https://github.com/lima-vm/lima)
## Lima

1. Manually setup [lima](https://github.com/kachick/dotfiles/issues/146#issuecomment-2453430154)(default Ubuntu guest) and [some packages](https://github.com/kachick/dotfiles/wiki/macOS) without Nix
1. Setup [Lima](https://github.com/lima-vm/lima) with default Ubuntu guest
1. In the lima as `limactl start`, apply home-manager with `kachick@lima`
1. You can run containers as `lima nerdctl run --rm hello-world`. You can also use podman after above `Podman on Ubuntu` setups

Expand Down
5 changes: 1 addition & 4 deletions home-manager/darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@
];

packages = with pkgs; [
# for lima. However don't add lima in this dependencies.
# It should be installed without nix.
# See https://github.com/kachick/dotfiles/issues/146#issuecomment-2453430154
qemu
lima # includes qemu

# https://github.com/NixOS/nixpkgs/issues/240819
pinentry_mac
Expand Down

0 comments on commit d8357d7

Please sign in to comment.