mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
no longer use deprecated .machine
attribute in nixos tests
This commit is contained in:
parent
664c4d7101
commit
5d69dafb8d
1 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
user-passwords = makeTest {
|
||||
name = "sops-user-passwords";
|
||||
machine = { config, ... }: {
|
||||
nodes.machine = { config, ... }: {
|
||||
imports = [ ../../modules/sops ];
|
||||
sops = {
|
||||
age.keyFile = ./test-assets/age-keys.txt;
|
||||
|
@ -58,7 +58,7 @@
|
|||
|
||||
pruning = makeTest {
|
||||
name = "sops-pruning";
|
||||
machine = { lib, ... }: {
|
||||
nodes.machine = { lib, ... }: {
|
||||
imports = [ ../../modules/sops ];
|
||||
sops = {
|
||||
age.keyFile = ./test-assets/age-keys.txt;
|
||||
|
@ -99,7 +99,7 @@
|
|||
|
||||
age-keys = makeTest {
|
||||
name = "sops-age-keys";
|
||||
machine = {
|
||||
nodes.machine = {
|
||||
imports = [ ../../modules/sops ];
|
||||
sops = {
|
||||
age.keyFile = ./test-assets/age-keys.txt;
|
||||
|
@ -119,7 +119,7 @@
|
|||
|
||||
age-ssh-keys = makeTest {
|
||||
name = "sops-age-ssh-keys";
|
||||
machine = {
|
||||
nodes.machine = {
|
||||
imports = [ ../../modules/sops ];
|
||||
services.openssh.enable = true;
|
||||
services.openssh.hostKeys = [{
|
||||
|
@ -207,7 +207,7 @@
|
|||
} // pkgs.lib.optionalAttrs (pkgs.lib.versionAtLeast (pkgs.lib.versions.majorMinor pkgs.lib.version) "22.05") {
|
||||
restart-and-reload = makeTest {
|
||||
name = "sops-restart-and-reload";
|
||||
machine = { pkgs, lib, config, ... }: {
|
||||
nodes.machine = { pkgs, lib, config, ... }: {
|
||||
imports = [
|
||||
../../modules/sops
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue