Deployerbot Main
3ae04eaa2e
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/7b7f05a1669f4552b22490b271683dd0f0d0833a' (2023-11-07) → 'github:nix-community/NUR/4b53db0b292005c6eebd8bbaa4a23f0a3680a459' (2023-11-08) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/4fa1524ef75aff068f4e6289b1583a715e405d75' (2023-11-07) → 'github:mitchellh/zig-overlay/f876c28d025888eeec64eafdb82d2162db1fd3e3' (2023-11-08) |
||
---|---|---|
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