My configuration. Probably nothing to look for here.
Deployerbot Main
bf99f03f15
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/f9027322f48b427da23746aa359a6510dfcd0228' (2024-05-12) → 'github:Mic92/nix-index-database/6b94c48c3bb22d5181333c3fb71beff44116e251' (2024-05-19) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/b55712de78725c8fcde422ee0a0fe682046e73c3' (2024-05-18) → 'github:NixOS/nixos-hardware/f0cf56878046c42ec2096a2ade89203e7348917b' (2024-05-19) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/bacb8503d3a51d9e9b52e52a1ba45e2c380ad07d' (2024-05-17) → 'github:NixOS/nixpkgs/e7cc61784ddf51c81487637b3031a6dd2d6673a2' (2024-05-18) • Updated input 'nur': 'github:nix-community/NUR/3b7597fbe7af84fe7c6051f64795249e7c17f775' (2024-05-18) → 'github:nix-community/NUR/2117505a79a460df4568790e26ea1a0a4ba352f4' (2024-05-19) |
||
---|---|---|
hacks/orangepi5plus/uboot | ||
hosts | ||
modules | ||
pkgs | ||
secrets | ||
shared | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md | ||
secrets.nix | ||
statix.toml |
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 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