My configuration. Probably nothing to look for here.
Deployerbot Main
c697fca9df
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/f070c7eeec3bde8c8c8baa9c02b6d3d5e114d73b' (2024-02-25) → 'github:Mic92/nix-index-database/93554c04c2f1c02f4a383538e8848d511c3129e9' (2024-03-03) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/33a97b5814d36ddd65ad678ad07ce43b1a67f159' (2024-02-28) → 'github:NixOS/nixos-hardware/59e37017b9ed31dee303dbbd4531c594df95cfbc' (2024-03-02) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/068d4db604958d05d0b46c47f79b507d84dbc069' (2024-02-29) → 'github:NixOS/nixpkgs/79baff8812a0d68e24a836df0a364c678089e2c7' (2024-03-01) • Updated input 'nur': 'github:nix-community/NUR/dcf16e00e8bdfd336dd7e8a9c8e133133d0af959' (2024-03-01) → 'github:nix-community/NUR/b96516cba51b3468f7adfd48ae3d2af35056d28f' (2024-03-03) |
||
---|---|---|
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