fixed formatting

This commit is contained in:
lsoriano-mcm
2025-07-05 13:57:47 -05:00
parent 1653fe3eb2
commit ea18baa039
+19 -18
View File
@@ -2,23 +2,24 @@
A rewrite of the original Sakamoto NixOS configuration. A rewrite of the original Sakamoto NixOS configuration.
## Getting Started ## Getting Started
| Hosts | Description | | Hosts | Description |
|----------|----------| |----------|--------------|
| hakase | gaming desktop | | hakase | gaming desktop |
| macos | darwin | | macos | darwin |
### Linux Installation ### Linux Installation
Note: Replace ${Hosts} with the following option from above. Note: Replace `${Hosts}` with one of the options from the table above.
1. Install [Nix](https://nixos.org).
2. Clone this directory. 1. Install [Nix](https://nixos.org).
```sh 2. Clone this directory.
$ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos ```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 3. Create a hardware-configuration.conf
$ sudo nixos-generate-config --dir ~/.config/hosts/${Hosts} ```sh
``` $ sudo nixos-generate-config --dir ~/.config/nixos/hosts/${Hosts}
4. Rebuild. ```
```sh 4. Rebuild.
$ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts} ```sh
``` $ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts}
```