An open API service indexing awesome lists of open source software.

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

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