Deployerbot Main
38732d7c9e
Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/07682fff75d41f18327a871088d20af2710d4744' (2023-09-19) → 'github:nix-community/home-manager/04bac349d585c9df38d78e0285b780a140dc74a4' (2023-11-12) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/5388a4002179d6778d212dc2fdcc7ac3fdbd5b65' (2023-11-05) → 'github:Mic92/nix-index-database/8aff4ca3dee60d1422489fe8d52c2f837b3ad113' (2023-11-12) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/41de143fda10e33be0f47eab2bfe08a50f234267' (2023-11-06) → 'github:NixOS/nixpkgs/da4024d0ead5d7820f6bd15147d3fe2a0c0cec73' (2023-11-10) • Updated input 'nur': 'github:nix-community/NUR/473af602cdfaf46f0a0d0b06e7678622f623f006' (2023-11-11) → 'github:nix-community/NUR/914f77f7be81bd0aa0e154086028641ae738460f' (2023-11-12) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/68d413985e6108c46f1597ab5794e2d07fd591f0' (2023-11-11) → 'github:mitchellh/zig-overlay/0d94a374db81dbdd9b0039c9378b2ece9d2a12d4' (2023-11-12) |
||
---|---|---|
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