Motiejus Jakštys
8027856ea3
Flake lock file updates: • Updated input 'e11sync': 'git+https://git.jakstys.lt/motiejus/e11sync?ref=refs/heads/main&rev=7cec799cfa5780fd4e96d7e323923b962b8c9d2e' (2024-01-26) → 'git+https://git.jakstys.lt/motiejus/e11sync?ref=refs/heads/main&rev=d54da85c56771fa5fde57e1d49a421d1ebbff97d' (2024-01-26) |
||
---|---|---|
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