My configuration. Probably nothing to look for here.
Deployerbot Main
9ee0eb68bd
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d4b5a67bbe9ef750bd2fdffd4cad400dd5553af8' (2023-11-14) → 'github:NixOS/nixpkgs/9fb122519e9cd465d532f736a98c1e1eb541ef6f' (2023-11-16) • Updated input 'nur': 'github:nix-community/NUR/04d24fb0e6258af7bbe51b29308e670de81a7d2f' (2023-11-16) → 'github:nix-community/NUR/898d9bac94ce894e9c50601dbe0360fd7aaa7b21' (2023-11-17) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/c485123811c011fe54bae2df5f8a17e1169dab65' (2023-11-16) → 'github:mitchellh/zig-overlay/3840cc78a6e06edea5fb113319b1a303f6c747e1' (2023-11-17) |
||
---|---|---|
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