- my.disks generates disko: NVMe btrfs (@root/@home/@nix/@log/@swap) + SATA SSD btrfs with one subvolume per ~/Games, Downloads, Documents, Music, Pictures, Videos, Storage (nofail) - lanzaboote Secure Boot, systemd initrd, latest kernel - AMD CPU/GPU: amdgpu initrd, OpenCL, LACT, optional ROCm - agenix with host-key identity, optional password and SSH key secrets - Hyprland (UWSM, XWayland) + greetd/tuigreet, Noctalia services, PipeWire, fonts - Steam + Proton-GE, gamescope, gamemode - overlays: compose Hyprland's hyprland-packages + hyprland-extras (upstream default lacks the hyprwm dependency overlays) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
30 lines
1.3 KiB
Nix
30 lines
1.3 KiB
Nix
# agenix recipients: which public keys may decrypt which secret.
|
|
#
|
|
# The agenix CLI reads this file (`cd secrets && agenix -e <name>.age`); the NixOS
|
|
# configuration does not import it. Every key below is a PLACEHOLDER: replace
|
|
# each one before encrypting anything.
|
|
#
|
|
# host : the machine's /etc/ssh/ssh_host_ed25519_key.pub
|
|
# (`create-keys` in the install USB workflow writes it to keys/)
|
|
# user : the public key of the workstation you edit secrets from
|
|
# (`cat ~/.ssh/id_ed25519.pub`)
|
|
let
|
|
# PLACEHOLDER: replace with the real host public key.
|
|
host = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPLACEHOLDERPLACEHOLDERPLACEHOLDERPLACEHOLDER root@desktop";
|
|
# PLACEHOLDER: replace with the public key of the machine you edit secrets on.
|
|
faumaray = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPLACEHOLDERPLACEHOLDERPLACEHOLDERPLACEHOLDER faumaray@gmail.com";
|
|
|
|
recipients = [
|
|
host
|
|
faumaray
|
|
];
|
|
in
|
|
{
|
|
# Hashed login password: `mkpasswd -m yescrypt | agenix -e faumaray-password.age`
|
|
"faumaray-password.age".publicKeys = recipients;
|
|
|
|
# Private SSH key installed for the user, linked to ~/.ssh/id_ed25519 by home-manager.
|
|
# Put the matching public key next to it as ssh-id_ed25519.pub (plaintext, not secret).
|
|
"ssh-id_ed25519.age".publicKeys = recipients;
|
|
}
|