Deployerbot Main
eb4d8c0652
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/b3ddf9649fdac7db15aeea95cb3114c13594d265' (2023-10-22) → 'github:NixOS/nixpkgs/60b9db998f71ea49e1a9c41824d09aa274be1344' (2023-10-26) • Updated input 'nur': 'github:nix-community/NUR/2c93895fe54162b5799006d185037573d4cda2df' (2023-10-25) → 'github:nix-community/NUR/37ad514dd0471bd695e8f22369d11647a86bac70' (2023-10-26) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/3b9279df9a89b0a06ed29b6eb4249fd9e96049a2' (2023-10-25) → 'github:mitchellh/zig-overlay/13a9baa87404e6491bf6d046b5d7f3009788a58a' (2023-10-26) |
||
---|---|---|
hosts | ||
modules | ||
secrets | ||
shared/home | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
nixpkgs.nix | ||
secrets.nix | ||
statix.toml | ||
yubikey-installer.nix |
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 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