Deployerbot Main
0b17f4cbc0
Flake lock file updates: • Updated input 'deploy-rs': 'github:serokell/deploy-rs/0a0187794ac7f7a1e62cda3dabf8dc041f868790' (2024-02-16) → 'github:serokell/deploy-rs/88b3059b020da69cbe16526b8d639bd5e0b51c8b' (2024-04-01) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/34519f3bb678a5abbddf7b200ac5347263ee781b' (2024-03-24) → 'github:Mic92/nix-index-database/2844b5f3ad3b478468151bd101370b9d8ef8a3a7' (2024-03-31) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/44733514b72e732bd49f5511bd0203dea9b9a434' (2024-03-26) → 'github:NixOS/nixpkgs/219951b495fc2eac67b1456824cc1ec1fd2ee659' (2024-03-28) • Updated input 'nixpkgs-unstable': 'github:NixOS/nixpkgs/2726f127c15a4cc9810843b96cad73c7eb39e443' (2024-03-27) → 'github:NixOS/nixpkgs/d8fe5e6c92d0d190646fb9f1056741a229980089' (2024-03-29) • Updated input 'nur': 'github:nix-community/NUR/a5797c7fbd9b11bf467872acdc2d24eb04f57d40' (2024-03-28) → 'github:nix-community/NUR/2d70d084ce6118c5c7f9891746b8508badf02957' (2024-04-01) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/7d47a32e5cd1ea481fab33c516356ce27c8cef4a' (2024-03-27) → 'github:cachix/pre-commit-hooks.nix/f3bb95498eaaa49a93bacaf196cdb6cf8e872cdf' (2024-04-01) |
||
---|---|---|
hacks/orangepi5plus/uboot | ||
hosts | ||
modules | ||
pkgs | ||
secrets | ||
shared | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
secrets.nix | ||
statix.toml |
README.md
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