My configuration. Probably nothing to look for here.
Deployerbot Main
9877a7c4a5
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/898cb2064b6e98b8c5499f37e81adbdf2925f7c5' (2023-10-13) → 'github:NixOS/nixpkgs/b5f8ec6be261dfc44c3b56b220e2793d1b61512b' (2023-10-17) • Updated input 'nur': 'github:nix-community/NUR/641022140ba8b6339d9f39bc13dd81aa4ac0f0e7' (2023-10-17) → 'github:nix-community/NUR/2d74bb5795a684f5d0bb3527c848c8059f827fa6' (2023-10-18) • Updated input 'zigpkgs': 'github:mitchellh/zig-overlay/02bddf965e12cd1224828152911943820665e651' (2023-10-17) → 'github:mitchellh/zig-overlay/8cf67f19afbb2b9c290f2f90a70f256577d9cfcb' (2023-10-18) |
||
---|---|---|
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