Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Kranzes/nix-darwin-template
A bare-bones template for setting up Nix on macOS for using nix-darwin with flakes
https://github.com/Kranzes/nix-darwin-template
Last synced: 3 months ago
JSON representation
A bare-bones template for setting up Nix on macOS for using nix-darwin with flakes
- Host: GitHub
- URL: https://github.com/Kranzes/nix-darwin-template
- Owner: Kranzes
- Created: 2022-09-15T16:43:51.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-15T23:46:17.000Z (about 2 years ago)
- Last Synced: 2024-06-30T14:52:22.071Z (5 months ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nix-darwin-template
This repo includes a script for setting-up a Nix installation managed by [nix-darwin](https://github.com/LnL7/nix-darwin) on macOS. Run the script by executing the commands below:
```console
git clone https://github.com/Kranzes/nix-darwin-template
cd nix-darwin-template
./setup.sh
```
> NOTE: I recommend to only use this script for the initial installation, as it includes various steps that are no longer needed after the initial setup.After the activating of the first nix-darwin generation, you will be able to use the `darwin-rebuild` command to rebuild your system, thus making the setup script obsolete. In order to rebuild your system, all you have to do is run the command below:
```console
darwin-rebuild switch --flake /path/to/repo/holding/your/flake
```