mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 16:55:38 +00:00
fixes for testing on brand new darwin system
This commit is contained in:
parent
643b722eb4
commit
68c5816d4d
@ -49,19 +49,24 @@ move the `windows/alacritty.yml` file to
|
|||||||
To get started on a bare macOS installation, first install Nix:
|
To get started on a bare macOS installation, first install Nix:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sh -c "$(curl -L https://nixos.org/nix/install)"
|
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
|
||||||
```
|
```
|
||||||
|
|
||||||
Then use Nix to build nix-darwin:
|
Launch a new shell. Then use Nix to switch to the macOS configuration:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer
|
sudo rm /etc/bashrc
|
||||||
./result/bin/darwin-installer
|
sudo rm /etc/nix/nix.conf
|
||||||
|
nix \
|
||||||
|
--extra-experimental-features flakes \
|
||||||
|
--extra-experimental-features nix-command \
|
||||||
|
run nix-darwin -- switch \
|
||||||
|
--flake github:nmasur/dotfiles#lookingglass
|
||||||
```
|
```
|
||||||
|
|
||||||
Then switch to the macOS configuration:
|
Once installed, you can continue to update the macOS configuration:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
darwin-rebuild switch --flake github:nmasur/dotfiles#lookingglass
|
darwin-rebuild switch --flake ~/dev/personal/dotfiles
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -24,10 +24,6 @@
|
|||||||
brewfile = true; # Run brew bundle from anywhere
|
brewfile = true; # Run brew bundle from anywhere
|
||||||
lockfiles = false; # Don't save lockfile (since running from anywhere)
|
lockfiles = false; # Don't save lockfile (since running from anywhere)
|
||||||
};
|
};
|
||||||
taps = [
|
|
||||||
"homebrew/cask" # Required for casks
|
|
||||||
"homebrew/cask-drivers" # Used for Logitech G-Hub
|
|
||||||
];
|
|
||||||
brews = [
|
brews = [
|
||||||
"trash" # Delete files and folders to trash instead of rm
|
"trash" # Delete files and folders to trash instead of rm
|
||||||
"openjdk" # Required by Apache Directory Studio
|
"openjdk" # Required by Apache Directory Studio
|
||||||
|
Loading…
Reference in New Issue
Block a user