nixos/modules/system/agenix/agenix.nix
2026-10-18 12:15:00 +02:00

17 lines
380 B
Nix

{ ... }: {
flake.nixosModules =
{ config, ... }:
let
main = "age17hvac3hn79mwttel9snw87a20x4vguh7y7ys43xmvlhrl3mqs3wswuzlt6";
in
{
"easyroam.age".publicKeys = [ main ];
age = {
enable = true;
identityPaths = [ "/var/lib/misc/key.age" ];
secrets = {
easyroam.file = ./easyroam.age;
};
};
};
}