My configuration. Probably nothing to look for here.
Deployerbot Main
34a3554035
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/d83d6250f6b930c260c908d06783b5459a060aca' (2023-11-03) → 'github:nix-community/NUR/6226a48fb329802a63da2babbdd2d375713af333' (2023-11-04) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/c11d22010473f8200f30cc88506a9c4f7b3fea03' (2023-11-03) → 'github:mitchellh/zig-overlay/12362cbfa1e097b3591bb3ffbee53fd8b4dc2b86' (2023-11-04) |
||
---|---|---|
hosts | ||
modules | ||
secrets | ||
shared/home | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
nixpkgs.nix | ||
README.md | ||
secrets.nix | ||
statix.toml | ||
yubikey-installer.nix |
Config
Flakes:
$ deploy --interactive '#vno1-oh2'
$ nix build .#deploy.nodes.fra1-a.profiles.system.path
Other:
$ nix build .#nixosConfigurations.vno3-rp3b.config.system.build.toplevel
$ nix build .#homeConfigurations.x86_64-linux.motiejusja.activationPackage
$ nix eval .#nixosConfigurations.vno1-oh2.config.services.nsd
Encoding host-only secrets
Encode a secret on host:
rage -e -r "$(cat /etc/ssh/ssh_host_ed25519_key.pub)" -o secret.age /path/to/plaintext
Decode a secret on host (to test things out):
rage -d -i /etc/ssh/ssh_host_ed25519_key secret.age