Files
homelab-config/readme.md
T

17 lines
1.2 KiB
Markdown
Raw Normal View History

2025-04-09 14:30:42 -05:00
# Roy's NixOS Homelab Config
2025-04-09 14:34:22 -05:00
### Assumptions
- You're connected to wired internet (eth)
- You're me; To directly run/use this config, you have to be me (i.e. have my ssh private keys to pull in quasiSecrets and my age keys to decrypt with sops-nix)
2025-04-20 10:18:28 -05:00
### Setup Steps
1. Flash NixOS onto the server hardware
2025-05-05 11:26:48 -05:00
2. Create a sudo password for root ```sudo passwd```
2025-05-05 11:30:23 -05:00
3. Get IP address with ```ip addr```
4. From the nixos directory, run the bash script ```bootstrap.sh``` using IP address from step 3 (```./bootstrap.sh -h``` for options)
5. If you want to make changes/rebuild the machine from the machine, you'll need to add an ssh key to the user, and then put that public key into github to authorize the server to read from your secrets repository
2025-04-21 14:03:02 -05:00
### Random
2025-05-05 11:26:48 -05:00
- Any time the quasiSecret repository is updated, run ```nix flake lock --update-input quasiSecrets``` to ensure you're using the most recent pushed commit
- If you aren't me, replace my quasiSecrets repo with your own, update the .sops.yaml file with your own age key to update the ```secrets/*``` files, place your own hashed user password into the ```users.users.<userName>.hashedPassord```, and your own public key into ```users.users.<userName>.openssh.authorizedKeys.keys```