Deployerbot Main
1731e943e5
Flake lock file updates: • Updated input 'nix-index-database': 'github:Mic92/nix-index-database/f4340c1a42c38d79293ba69bfd839fbd6268a538' (2023-12-24) → 'github:Mic92/nix-index-database/d6510ce144f5da7dd9bac667ba3d5a4946c00d11' (2023-12-31) • Updated input 'nixos-hardware': 'github:NixOS/nixos-hardware/22ae59fec26591ef72ce4ccb5538c42c5f090fe3' (2023-12-29) → 'github:NixOS/nixos-hardware/316bc98323fe3a7e7f72dbbbe68dce0cce3d4984' (2023-12-31) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/d02d818f22c777aa4e854efc3242ec451e5d462a' (2023-12-25) → 'github:NixOS/nixpkgs/9dd7699928e26c3c00d5d46811f1358524081062' (2023-12-30) • Updated input 'nur': 'github:nix-community/NUR/ad45251f54e0a7cee3592e3af1ec58b568d2f02c' (2023-12-30) → 'github:nix-community/NUR/74bee334e8d3cadfe11fefea2ae426e0c25246d7' (2023-12-31) |
||
---|---|---|
hosts | ||
modules | ||
secrets | ||
shared/home | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
LICENSE | ||
README.md | ||
data.nix | ||
flake.lock | ||
flake.nix | ||
nixpkgs.nix | ||
secrets.nix | ||
statix.toml |
README.md
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