Deployerbot Main
844e28f14b
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/d854884a8c7d2014ff44a27cfe9cac8dd78cc7ea' (2023-12-08) → 'github:nix-community/NUR/5a59ca006e55ce86e924af2cee1977e9db5b2f43' (2023-12-09) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/45dc901c2de7b15d213b8aedcfcdd5ab65871969' (2023-12-08) → 'github:mitchellh/zig-overlay/e6b416a7e3ae013ac9954018fb882fd58dd3075f' (2023-12-09) |
||
---|---|---|
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