Files
nixos/README.md
T
2025-05-19 17:53:19 -05:00

12 lines
734 B
Markdown

# NixOS configuration
## Getting Started
### System rebuild
1. (Optional) On ./system/users.nix, replace `biscuit` on `users.users.biscuit` with your own username. If you are creating a new user (by replacing `biscuit`), or ignoring the file, the default password is `very-insecure-password`. Make sure to replace it!
2. Replace `hardware-configuration.conf`(each located at `nixos` folder) with your own. You can generate a config via `nixos-generate-config --dir ./nixos/`.
3. While in this folder, rebuild your system using this command: `sudo nixos-rebuild switch --flake ./#${YOUR_CHOICE}`. For example, if you chose `biscuit` config, you type the following: `sudo nixos-rebuild switch --flake ./#biscuit`.
### Home rebuild