My configuration. Probably nothing to look for here.
Deployerbot Main
3b14ca06a6
Flake lock file updates: • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/a77ab169a83a4175169d78684ddd2e54486ac651' (2024-01-24) → 'github:NixOS/nixpkgs/56911ef3403a9318b7621ce745f5452fb9ef6867' (2024-01-27) • Updated input 'nur': 'github:nix-community/NUR/4fc5b14cae1e1b4fd6f4ef879a552e1d8c6f868a' (2024-01-28) → 'github:nix-community/NUR/24478b9e556e4366ef0a2ff58590d8cf24c77267' (2024-01-29) |
||
---|---|---|
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