My configuration. Probably nothing to look for here.
Deployerbot Main
39e85c640a
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/5a2006282caaf32663cdcd582c5b18809c7d7d8d' (2023-10-22) → 'github:Mic92/nix-index-database/1f0981f5baeb78e3c89a8980ff1a39f06876fa8c' (2023-10-29) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/60b9db998f71ea49e1a9c41824d09aa274be1344' (2023-10-26) → 'github:NixOS/nixpkgs/1a3c95e3b23b3cdb26750621c08cc2f1560cb883' (2023-10-27) • Updated input 'nur': 'github:nix-community/NUR/6cf13bd019ae3de1e09aed6293912c98a672835c' (2023-10-28) → 'github:nix-community/NUR/c2f795e116a7e9bb92a48fe3a5b6350daf2ebe5f' (2023-10-29) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/98f9f2302be88518c44e877a9e33c8ccde6ac636' (2023-10-28) → 'github:mitchellh/zig-overlay/54fcb78ad745ff67fc1f213cdc6f55077ded5df5' (2023-10-29) |
||
---|---|---|
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