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 ## Getting Started
| Hosts | Description | | Hosts | Description |
|----------|--------------| |----------|--------------|
| hakase | gaming desktop | | hakase | gaming desktop (linux) |
| macos | darwin | | macos | compatible with the M series |
**Note: Replace `${Hosts}` with one of the options from the table above.** **Note: Replace `${Hosts}` with one of the options from the table above.**
### Linux Installation ### Linux Installation
@@ -25,9 +25,9 @@ A rewrite of the original Sakamoto NixOS configuration.
$ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts} $ sudo nixos-rebuild switch --flake ~/.config/nixos/hosts/#${Hosts}
``` ```
6. Install unstable channel (fixes `pkgs.fish` misconfiguration). 6. Install unstable channel (fixes `pkgs.fish` misconfiguration).
```sh ```sh
nix-channel --add https://nixos.org/channels/nixos-unstable nixos nix-channel --update $ nix-channel --add https://nixos.org/channels/nixos-unstable nixos nix-channel --update
``` ```
### MacOS (Darwin) Installation ### MacOS (Darwin) Installation
1. Install [Nix](https://nixos.org). 1. Install [Nix](https://nixos.org).
2. Clone this directory. 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!!!** 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. 4. Rebuild.
```sh ```sh
$ sudo nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nixos#macos $ sudo nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nixos#macos
``` ```