Deployerbot Main
fc7cae6721
Flake lock file updates: • Updated input 'agenix': 'github:ryantm/agenix/457669db4259ff69d1ac1183aaa6000420940c1f' (2023-12-23) → 'github:ryantm/agenix/417caa847f9383e111d1397039c9d4337d024bf0' (2023-12-24) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/4605ccd764fac78b9e4b5b058698cb9f04430b91' (2023-12-18) → 'github:Mic92/nix-index-database/f4340c1a42c38d79293ba69bfd839fbd6268a538' (2023-12-24) • Updated input 'nur': 'github:nix-community/NUR/91894669516c1745ad97527feff7d28e1565f392' (2023-12-23) → 'github:nix-community/NUR/6897f1bcf8dcccc980554939f0808c37a0d45113' (2023-12-24) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/007a45d064c1c32d04e1b8a0de5ef00984c419bc' (2023-12-13) → 'github:cachix/pre-commit-hooks.nix/7f35ec30d16b38fe0eed8005933f418d1a4693ee' (2023-12-24) |
||
---|---|---|
hosts | ||
modules | ||
secrets | ||
shared/home | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
nixpkgs.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 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