Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ecklf/dotfiles
dotfiles - macOS
https://github.com/ecklf/dotfiles
dotfiles macos vim zsh
Last synced: 15 days ago
JSON representation
dotfiles - macOS
- Host: GitHub
- URL: https://github.com/ecklf/dotfiles
- Owner: ecklf
- Created: 2016-08-08T21:49:31.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2024-10-03T20:56:39.000Z (about 1 month ago)
- Last Synced: 2024-10-04T16:48:47.020Z (about 1 month ago)
- Topics: dotfiles, macos, vim, zsh
- Language: Lua
- Homepage:
- Size: 416 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
> [!NOTE]
> Old config can be found in legacy branch### Installation
1. Install [nix](https://nixos.org/download)
2. Install [homebrew](https://brew.sh)
3. Ensure Xcode command line tools are installed (setting up brew should already do this)
4. Ensure you are signed into the App Store (when providing appids for `mas`)
5. Clone this repository```sh
git clone [email protected]:ecklf/dotfiles.git
```### Fresh Install
> [!TIP]
> The macOS dock can be wiped with:
> ```sh
> defaults write com.apple.dock persistent-apps -array && killall Dock
> ```> [!IMPORTANT]
> For the very first run, `darwin-rebuild` won't be installed in your path.
> ```sh
> nix run nix-darwin --extra-experimental-features flakes --extra-experimental-features nix-command -- switch --flake ~/dotfiles/nix#omega
> ```### Usage
```sh
# Build the flake `omega` (see flake.nix)
darwin-rebuild build --flake ~/dotfiles/nix#omega
# Switch to `omega` (see flake.nix)
darwin-rebuild switch --flake ~/dotfiles/nix#omega
``````sh
# Upgrading nix — https://nix.dev/manual/nix/2.22/installation/upgrading
# Updating inputs
nix flake lock --update-all
nix flake lock --update-input
```