git clone [email protected]:gaelreyrol/nixos-config.git ~/.config/nix
cd ~/.config/nix
make nixos-build
make nixos-switch
make nix-garbage-collect
make system-diff
make home-manager-diff
keybase pgp export -s | gpg --allow-secret-key-import --import
ykman otp chalresp --touch --generate 2
ykpamcfg -2 -v
# On user host
mkdir -p ~/.config/sops/age
ssh-to-age -private-key -i ~/.ssh/id_ed25519 > ~/.config/sops/age/keys.txt
age-keygen -y ~/.config/sops/age/keys.txt # Add output to .sops.yaml file
# On server host
cat /etc/ssh/ssh_host_ed25519_key.pub | ssh-to-age # Add output to .sops.yaml file
# Update secrets files with new keys
sops updatekeys secrets/default.yaml