This commit is contained in:
lsoriano-mcm
2025-06-06 20:25:13 -05:00
parent 5b0a8b3c49
commit 30f2178b6f
+23 -8
View File
@@ -1,14 +1,24 @@
# Sakamoto NixOS # Sakamoto NixOS
Sakamoto NixOS is built with various profiles intended for reproducibility. Sakamoto NixOS is built with various profiles intended for reproducibility.
## Available Hosts ## Available Hosts
* MacBook M series
* Linux - MacBook M series
- Linux
## Installation ## Installation
1. Install [Nix](https://nixos.org/download/). 1. Install [Nix](https://nixos.org/download/).
2. Ensure nix is installed properly by running `nix-shell -p nano`.
3. Clone the git repository. 2. Ensure Nix is installed properly by running the following (this also gives you `nano` for editing later):
```sh
nix-shell -p nano
```
3. Clone the git repository:
```sh ```sh
git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos && cd ~/.config/nixos/ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos && cd ~/.config/nixos/
``` ```
@@ -19,9 +29,15 @@ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos && cd ~/.conf
cp ~/.config/nixos/info.default.nix ~/.config/nixos/info.local.nix cp ~/.config/nixos/info.default.nix ~/.config/nixos/info.local.nix
``` ```
🚨 **CRITICAL STEP:** Edit `info.local.nix` by executing `nano ~/.config/nixos/info.local.nix` to your suitable needs, especially your **username**. 🚨 **CRITICAL STEP:** Edit `info.local.nix`:
Failure to do so may lock you out of your system.
**If you accidentally created the `biscuit` user, you will need to enter that username and its password on next login. The password is `<PLACEHOLDER>`.** ```sh
nano ~/.config/nixos/info.local.nix
```
Modify it to fit your system — especially your **username**.
If you accidentally leave the default `biscuit`, that user will be created.
**Login password for `biscuit` is `<PLACEHOLDER>`.**
5. Execute the following command based on your host: 5. Execute the following command based on your host:
@@ -36,4 +52,3 @@ git clone https://git.sakamoto.dev/kenji/nixos.git ~/.config/nixos && cd ~/.conf
```sh ```sh
sudo nixos-rebuild --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nixos#desktop sudo nixos-rebuild --extra-experimental-features "nix-command flakes" -- switch --flake ~/.config/nixos#desktop
``` ```