Deployerbot Main
5204da7657
Flake lock file updates: • Updated input 'deploy-rs': 'github:serokell/deploy-rs/2ccd5d9939d41ac797c3ce769a689fdbc76fdebb' (2023-12-12) → 'github:serokell/deploy-rs/915327515f5fd1b7719c06e2f1eb304ee0bdd803' (2023-12-13) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/fef05bf9c8e818f4ca1425ef4c18e6680becd072' (2023-12-11) → 'github:NixOS/nixos-hardware/7763c6fd1f299cb9361ff2abf755ed9619ef01d6' (2023-12-13) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/781e2a9797ecf0f146e81425c822dca69fe4a348' (2023-12-10) → 'github:NixOS/nixpkgs/cf28ee258fd5f9a52de6b9865cdb93a1f96d09b7' (2023-12-12) • Updated input 'nur': 'github:nix-community/NUR/55ff7c9e06b3dd19be193158fb39df1a4623ea70' (2023-12-12) → 'github:nix-community/NUR/0ff0cfc638d7d75b6994d7620fc033ebd6639cd3' (2023-12-13) • Updated input 'pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/e1d203c2fa7e2593c777e490213958ef81f71977' (2023-12-11) → 'github:cachix/pre-commit-hooks.nix/007a45d064c1c32d04e1b8a0de5ef00984c419bc' (2023-12-13) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/65524b2ccb2c41ffc96b29a9c21042b10fb86da6' (2023-12-12) → 'github:mitchellh/zig-overlay/543233c76725e7fbaac1f63301c1a43d28f652b6' (2023-12-13) |
||
---|---|---|
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