This commit is contained in:
lsoriano-mcm
2025-07-05 14:07:54 -05:00
parent 481fb8c6c4
commit 6f3c0e8f6c
+8 -8
View File
@@ -4,8 +4,8 @@ A rewrite of the original Sakamoto NixOS configuration.
## Getting Started
| Hosts | Description |
|----------|--------------|
| hakase | gaming desktop |
| macos | darwin |
| hakase | gaming desktop (linux) |
| macos | compatible with the M series |
**Note: Replace `${Hosts}` with one of the options from the table above.**
### Linux Installation
@@ -25,9 +25,9 @@ A rewrite of the original Sakamoto NixOS configuration.
$ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts}
```
6. Install unstable channel (fixes `pkgs.fish` misconfiguration).
```sh
nix-channel --add https://nixos.org/channels/nixos-unstable nixos nix-channel --update
```
```sh
$ nix-channel --add https://nixos.org/channels/nixos-unstable nixos nix-channel --update
```
### MacOS (Darwin) Installation
1. Install [Nix](https://nixos.org).
2. Clone this directory.
@@ -36,6 +36,6 @@ nix-channel --add https://nixos.org/channels/nixos-unstable nixos nix-channel --
```
3. ⚠️ Modify `config.nix` that suits your configuration. **Be sure to edit `config.nix`! Most especially `myConfig.essentials.Username`. Otherwise, configuration would not work!!!**
4. Rebuild.
```sh
$ sudo nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nixos#macos
```
```sh
$ sudo nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nixos#macos
```