26 lines
734 B
Markdown
26 lines
734 B
Markdown
# NixOS Sakamoto
|
|
A rewrite of the original Sakamoto NixOS configuration.
|
|
|
|
## Getting Started
|
|
| Hosts | Description |
|
|
|----------|--------------|
|
|
| hakase | gaming desktop |
|
|
| macos | darwin |
|
|
|
|
### Linux Installation
|
|
Note: Replace `${Hosts}` with one of the options from the table above.
|
|
|
|
1. Install [Nix](https://nixos.org).
|
|
2. Clone this directory.
|
|
```sh
|
|
$ git clone [https://git.sakamoto.dev/kenji/nixos.git](https://git.sakamoto.dev/kenji/nixos.git) ~/.config/nixos
|
|
```
|
|
3. Create a hardware-configuration.conf
|
|
```sh
|
|
$ sudo nixos-generate-config --dir ~/.config/nixos/hosts/${Hosts}
|
|
```
|
|
4. Rebuild.
|
|
```sh
|
|
$ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts}
|
|
```
|