My configuration. Probably nothing to look for here.
Deployerbot Main
95c2777db3
Flake lock file updates: • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/7763c6fd1f299cb9361ff2abf755ed9619ef01d6' (2023-12-13) → 'github:NixOS/nixos-hardware/a15b6e525f5737a47b4ce28445c836996fb2ea8c' (2023-12-25) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d65bceaee0fb1e64363f7871bc43dc1c6ecad99f' (2023-12-20) → 'github:NixOS/nixpkgs/0b3d618173114c64ab666f557504d6982665d328' (2023-12-21) • Updated input 'nur': 'github:nix-community/NUR/6897f1bcf8dcccc980554939f0808c37a0d45113' (2023-12-24) → 'github:nix-community/NUR/4c682e6595400dd3cec580b326823cc0ddc48c38' (2023-12-25) |
||
---|---|---|
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