https://github.com/nce/nix-config
my dotfiles and system configuration
https://github.com/nce/nix-config
Last synced: 3 months ago
JSON representation
my dotfiles and system configuration
- Host: GitHub
- URL: https://github.com/nce/nix-config
- Owner: nce
- Created: 2024-10-14T16:16:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-02-16T16:21:31.000Z (4 months ago)
- Last Synced: 2026-02-16T23:52:11.154Z (4 months ago)
- Language: Nix
- Size: 135 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Client Setup
this setup provisions my client/local systems.
> [!WARNING]
> although this works, i've no idea how to nix
# System Restore/First Steps
## Prerequisites
1. Restore `.ssh/*` keys from backup
2. Restore .oci from backup
3. Run:
```sh
xcode-select --install
```
## Nix installer
Nix System is installed with the `determinate.systems` installer, after the first system boot:
```sh
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
```
## Initial Provision `macmini24`
```
nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake "github.com/nce/nix-config#macmini24"
```
Rebuild system:
```sh
darwin-rebuild switch --flake ~/vcs/github/nce/nix-config/.#macmini24
```
## Initial Provision `mbair22`
```
nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake "github.com/nce/nix-config#mbair22"
```
Rebuild system:
```sh
darwin-rebuild switch --flake ~/vcs/github/nce/nix-config/.#mbair22
```
## Initial Provision `macminipro24`
```
nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake "github.com/nix-config#macminipro24"
```
Rebuild system:
```sh
darwin-rebuild switch --flake ~/vcs/github/nce/nix-config/.#macminipro24
```
# Updates
```sh
nix flake --extra-experimental-features "nix-command flakes" update
darwin-rebuild switch --flake ...
```
## After install steps
### Keyboard Layout
Install EurKey by hand...
### Browser
Set Default Browser via System Settings