Deployerbot Main
7ab9ab35fd
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/01885a071465e223f8f68971f864b15829988504' (2024-02-13) → 'github:NixOS/nixpkgs/c68a9fc85c2cb3a313be6ff40511635544dde8da' (2024-02-15) • Updated input 'nur': 'github:nix-community/NUR/d94f513be3a2156cf8644d45665cf00355c3eb9c' (2024-02-14) → 'github:nix-community/NUR/9c12d8c55be1297d0cdedd6591d4319aab80b4b0' (2024-02-15) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/0db2e67ee49910adfa13010e7f012149660af7f0' (2024-02-07) → 'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431' (2024-02-15) |
||
---|---|---|
hosts | ||
modules | ||
pkgs | ||
secrets | ||
shared/home | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
data.nix | ||
flake.lock | ||
flake.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