25 lines
633 B
Markdown
25 lines
633 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 the following option from above.
|
|
1. Install [Nix](https://nixos.org).
|
|
2. Clone this directory.
|
|
```sh
|
|
$ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos
|
|
```
|
|
3. Create a hardware-configuration.conf
|
|
```sh
|
|
$ sudo nixos-generate-config --dir ~/.config/hosts/${Hosts}
|
|
```
|
|
4. Rebuild.
|
|
```sh
|
|
$ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts}
|
|
```
|