https://github.com/erikkrieg/eksys
Nix system and user configuration for MacOS and NixOS hosts.
https://github.com/erikkrieg/eksys
configuration dotfiles macos nix nixos
Last synced: 6 months ago
JSON representation
Nix system and user configuration for MacOS and NixOS hosts.
- Host: GitHub
- URL: https://github.com/erikkrieg/eksys
- Owner: erikkrieg
- Created: 2023-04-27T15:24:49.000Z (about 3 years ago)
- Default Branch: 25.05
- Last Pushed: 2026-01-13T21:06:22.000Z (6 months ago)
- Last Synced: 2026-01-13T23:26:52.878Z (6 months ago)
- Topics: configuration, dotfiles, macos, nix, nixos
- Language: Nix
- Homepage:
- Size: 276 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eksys - System and User Configuration
Nix configurations for my MacOS and NixOS hosts.
## Install MacOS
1. Install Nix package manager: https://nixos.org/download.html#nix-install-macos
2. Clone or download the flake source from GitHub.
3. Run `./bootstrap.sh` to build and apply the system configuration.
The bootstrap command builds a derivation and then activates it with nix-darwin. The bootstrap command likely won't succeed on the first run, but if it fails, there should be instructions for manual remediation. Once those are performed, you can re-run `./bootstrap.sh` (there might be a few cycles of this).
## Update MacOS
Rebuild and apply: `nixswitch`
This is an alias for building and activating the system configuration flake,
which is effectively the same as:
```sh
darwin-rebuild switch --flake .#
```
To get latest packages, go into the flake source directory and run:
```sh
nix flake update
```
_In order to apply the update, use `nixswitch` after._
To update inputs and apply the change run `nixup`.
To update a specific input (using `envim` as an example): `nix flake lock --update-input envim`