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
|
@ -13,6 +13,7 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({pkgs, ...}: {
|
|||
nodes.system1 = {
|
||||
config,
|
||||
lib,
|
||||
options,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
|
@ -26,6 +27,8 @@ import "${nixpkgs}/nixos/tests/make-test-python.nix" ({pkgs, ...}: {
|
|||
file = ../example/passwordfile-user1.age;
|
||||
};
|
||||
|
||||
age.identityPaths = options.age.identityPaths.default ++ ["/etc/ssh/this_key_wont_exist"];
|
||||
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue