add agenix
This commit is contained in:
parent
191cb91501
commit
9e62e079ae
7 changed files with 34 additions and 3 deletions
17
modules/system/agenix/agenix.nix
Normal file
17
modules/system/agenix/agenix.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ ... }: {
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
BIN
modules/system/agenix/easyroam.age
Normal file
BIN
modules/system/agenix/easyroam.age
Normal file
Binary file not shown.
Loading…
Reference in a new issue