Using the nixos installer image...
- Clone this repo and cd into the quickstart folder
- Follow the quickstart instructions
- Clone this repo again to /persist/home/yeldir/querbeet/workspace/nix-config (this is later mounted into your home directory and this config assumes that's where it's installed)
- Add new host configuration and configure it according to your needs
- include the generated hardware-configuration.nix file
- don't forget to set the disko device
- Put your sops keys into
/persist/sops/age/keys.txt
- Create all folders defined in hosts/common/global/persistence.nix. (I'll try to automate this)
- nboot & reboot
- Add ssh key
chmod -R 700 ~/.gnupg
(I'll try to automate this)- Import private gpg key matching above fingerprint
- Create a new keyring using seahorse and mark it as default
- Reboot
- Application specific setup
- Chrome - Log in, enable sync for extensions and settings - Log into 1password
- Thunderbird - import public gpg key (this somehow can't be avoided)
- VSCode - log into GitHub account, Copilot
qmk setup yeldiRium/qmk_firmware
This was written without testing. It might fail and after doing everything something might be missing in the persisted folders. Needs to be evaluated!
I don't know if the hardware-configuration.nix changes depending on the host system. So far I assume that WSL is identical everywhere. YMMV.
The WSL setup does not use impermanence or sops, so no further setup and no encryption keys are required.
- Prepare your system for WSL (install WSL latest version, enable optional features, whatever weird microsoft domain stuff your workstation requires)
- Add a NixOS WSL instance according to this guide and start it
- Clone this repo to ~/querbeet/workspace/nix-config, because it assumes that's where it's installed
- Set your git username/email and gpg signing key in the wsl home config
- Run
nixos-rebuild switch --flake ~/querbeet/workspace/nix-config#wsl --impure
- Restart WSL to be sure
- Optional: If you want to use commit signing, import your private key