My configuration. Probably nothing to look for here.
Deployerbot Main
070d955adf
Flake lock file updates: • Updated input 'nur': 'github:nix-community/NUR/8fceb8a24c6494d03dc909cb55a6f9f0fd086b00' (2023-10-27) → 'github:nix-community/NUR/6cf13bd019ae3de1e09aed6293912c98a672835c' (2023-10-28) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/b0c731e896ee66bb67b41a393e7df7ad0a62f754' (2023-10-27) → 'github:mitchellh/zig-overlay/98f9f2302be88518c44e877a9e33c8ccde6ac636' (2023-10-28) |
||
---|---|---|
hosts | ||
modules | ||
secrets | ||
shared/home | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
nixpkgs.nix | ||
README.md | ||
secrets.nix | ||
statix.toml | ||
yubikey-installer.nix |
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