My configuration. Probably nothing to look for here.
Deployerbot Main
62626351f9
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/4676d72d872459e1e3a248d049609f110c570e9a' (2024-04-07) → 'github:Mic92/nix-index-database/93aed67288be60c9ef6133ba2f8de128f4ef265c' (2024-04-14) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/51651a540816273b67bc4dedea2d37d116c5f7fe' (2024-04-11) → 'github:NixOS/nixpkgs/90055d5e616bd943795d38808c94dbf0dd35abe8' (2024-04-13) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/1042fd8b148a9105f3c0aca3a6177fd1d9360ba5' (2024-04-10) → 'github:NixOS/nixpkgs/cfd6b5fc90b15709b780a5a1619695a88505a176' (2024-04-12) • Updated input 'nur': 'github:nix-community/NUR/8d563c34f15b20cba7c8fbcb8558325e722dd094' (2024-04-13) → 'github:nix-community/NUR/54d3d777defd18924d6c1438dedab6ae6d3cd976' (2024-04-14) |
||
---|---|---|
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