My configuration. Probably nothing to look for here.
Deployerbot Main
e0c1747c43
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/3e3dad2808379c522138e2e8b0eb73500721a237' (2024-02-04) → 'github:Mic92/nix-index-database/0cb4345704123492e6d1f1068629069413c80de0' (2024-02-11) • Updated input 'nur': 'github:nix-community/NUR/3a315bbd42ead8a1bafa90e8c3d14c43c80db912' (2024-02-10) → 'github:nix-community/NUR/37429213accf748b9ccaaac4af5674119d9171b6' (2024-02-11) |
||
---|---|---|
hosts | ||
modules | ||
pkgs | ||
secrets | ||
shared/home | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
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