My configuration. Probably nothing to look for here.
Deployerbot Main
c0c14a6806
Flake lock file updates: • Updated input 'deploy-rs': 'github:serokell/deploy-rs/660180bbbeae7d60dad5a92b30858306945fd427' (2023-11-02) → 'github:serokell/deploy-rs/514fa3bc3d24fa85f338fa6a8247ca7e116ab9de' (2023-12-11) • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/58ecd98e27e27fcbb27a51a588555c828b1ec56e' (2023-12-10) → 'github:Mic92/nix-index-database/45d82e0a8b9dd6c5dd9da835ac0c072239af7785' (2023-12-11) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/b4372c4924d9182034066c823df76d6eaf1f4ec4' (2023-12-07) → 'github:NixOS/nixpkgs/781e2a9797ecf0f146e81425c822dca69fe4a348' (2023-12-10) • Updated input 'nur': 'github:nix-community/NUR/444a9b5c426db74aea5e9dc8123705e4cf757815' (2023-12-10) → 'github:nix-community/NUR/e45022e0e4959af1106b264205980b11b97f9396' (2023-12-11) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/e5ee5c5f3844550c01d2131096c7271cec5e9b78' (2023-11-25) → 'github:cachix/pre-commit-hooks.nix/e1d203c2fa7e2593c777e490213958ef81f71977' (2023-12-11) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/d4ece93f395729de9828fcbb33cbbc81ab0189aa' (2023-12-10) → 'github:mitchellh/zig-overlay/6a15c60aaf5791b16a9aad1a5182bd03fc603fc2' (2023-12-11) |
||
---|---|---|
hosts | ||
modules | ||
secrets | ||
shared/home | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
nixpkgs.nix | ||
README.md | ||
secrets.nix | ||
statix.toml |
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