mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-03-16 05:28:15 +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 {
|
user-passwords = makeTest {
|
||||||
name = "sops-user-passwords";
|
name = "sops-user-passwords";
|
||||||
machine = { config, ... }: {
|
nodes.machine = { config, ... }: {
|
||||||
imports = [ ../../modules/sops ];
|
imports = [ ../../modules/sops ];
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = ./test-assets/age-keys.txt;
|
age.keyFile = ./test-assets/age-keys.txt;
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
|
|
||||||
pruning = makeTest {
|
pruning = makeTest {
|
||||||
name = "sops-pruning";
|
name = "sops-pruning";
|
||||||
machine = { lib, ... }: {
|
nodes.machine = { lib, ... }: {
|
||||||
imports = [ ../../modules/sops ];
|
imports = [ ../../modules/sops ];
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = ./test-assets/age-keys.txt;
|
age.keyFile = ./test-assets/age-keys.txt;
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
|
|
||||||
age-keys = makeTest {
|
age-keys = makeTest {
|
||||||
name = "sops-age-keys";
|
name = "sops-age-keys";
|
||||||
machine = {
|
nodes.machine = {
|
||||||
imports = [ ../../modules/sops ];
|
imports = [ ../../modules/sops ];
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = ./test-assets/age-keys.txt;
|
age.keyFile = ./test-assets/age-keys.txt;
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
|
|
||||||
age-ssh-keys = makeTest {
|
age-ssh-keys = makeTest {
|
||||||
name = "sops-age-ssh-keys";
|
name = "sops-age-ssh-keys";
|
||||||
machine = {
|
nodes.machine = {
|
||||||
imports = [ ../../modules/sops ];
|
imports = [ ../../modules/sops ];
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.hostKeys = [{
|
services.openssh.hostKeys = [{
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
} // pkgs.lib.optionalAttrs (pkgs.lib.versionAtLeast (pkgs.lib.versions.majorMinor pkgs.lib.version) "22.05") {
|
} // pkgs.lib.optionalAttrs (pkgs.lib.versionAtLeast (pkgs.lib.versions.majorMinor pkgs.lib.version) "22.05") {
|
||||||
restart-and-reload = makeTest {
|
restart-and-reload = makeTest {
|
||||||
name = "sops-restart-and-reload";
|
name = "sops-restart-and-reload";
|
||||||
machine = { pkgs, lib, config, ... }: {
|
nodes.machine = { pkgs, lib, config, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/sops
|
../../modules/sops
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue