mirror of
https://github.com/RGBCube/agenix
synced 2025-07-29 01:37:44 +00:00
Test with nonexisting key
This commit is contained in:
parent
b7ffcfe77f
commit
578794f528
2 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
options,
|
||||
...
|
||||
}: let
|
||||
secret = "hello";
|
||||
|
@ -18,6 +19,8 @@ in {
|
|||
|
||||
services.nix-daemon.enable = true;
|
||||
|
||||
age.identityPaths = options.age.identityPaths.default ++ ["/etc/ssh/this_key_wont_exist"];
|
||||
|
||||
age.secrets.secret1.file = ../example/secret1.age;
|
||||
|
||||
environment.systemPackages = [testScript];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue