Deployerbot Main
6570d587cd
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/8ea003a1d3e54c1e814e21f5d8a78f9c3c1946e3' (2023-10-24) → 'github:nix-community/NUR/ff5197580efcaf1d2a52ca950a33ce9bbc5e4580' (2023-10-24) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/d5a4ea452cece631ea61e8507614d3b0a4eb9bdc' (2023-10-24) → 'github:mitchellh/zig-overlay/bbc407a319659eed86d97989ef50cc82e3677c45' (2023-10-24) |
||
---|---|---|
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