nix-config/README.md
2024-09-03 00:26:27 -05:00

28 lines
1.1 KiB
Markdown

# Hosts
## Host Map
| Hostname | Device Description | Primary User | Role |
| :---------: | :------------------------: | :--------------: | :-------: |
| `twilight` | Desktop Computer | Leyla | Desktop |
| `horizon` | 13 inch Framework Laptop | Leyla | Laptop |
| `defiant` | NAS Server | Leyla | Service |
| `emergent` | Desktop Computer | Eve | Laptop |
| `threshold` | Laptop | Eve | Desktop |
### Rebuild current machine to match target host:
`sudo nixos-rebuild switch --flake .#hostname`
### Rebuild current machine maintaining current target
`./rebuild.sh`
# New machine setup
keys for decrypting password secrets for each users located at ~/.config/sops/age/keys.txt
updating passwords: `sops secrets/secrets.yaml`
TODO: keys.txt should prob be readable by owning user only?
> how the current config was set up https://www.youtube.com/watch?v=G5f6GC7SnhU
> look into this? `https://technotim.live/posts/rotate-sops-encryption-keys/`