diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-10 14:56:43 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-10 14:56:43 +0200 |
commit | 1a7188052f235fb632700478fad0108e4306107d (patch) | |
tree | 046b43c711a161190e99953c709cd69aaa49b724 /nixops/modules/databases | |
parent | d42bbbe6f510fce233ecb66d44d205761390b56e (diff) | |
download | Nix-1a7188052f235fb632700478fad0108e4306107d.tar.gz Nix-1a7188052f235fb632700478fad0108e4306107d.tar.zst Nix-1a7188052f235fb632700478fad0108e4306107d.zip |
Move secrets module outside of nixops
Diffstat (limited to 'nixops/modules/databases')
-rw-r--r-- | nixops/modules/databases/mysql.nix | 2 | ||||
-rw-r--r-- | nixops/modules/databases/openldap.nix | 2 | ||||
-rw-r--r-- | nixops/modules/databases/postgresql.nix | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/nixops/modules/databases/mysql.nix b/nixops/modules/databases/mysql.nix index 2d56155..23b8b90 100644 --- a/nixops/modules/databases/mysql.nix +++ b/nixops/modules/databases/mysql.nix | |||
@@ -44,7 +44,7 @@ in { | |||
44 | ''; | 44 | ''; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | mySecrets.keys = [ | 47 | secrets.keys = [ |
48 | { | 48 | { |
49 | dest = "mysql/mysqldump"; | 49 | dest = "mysql/mysqldump"; |
50 | permissions = "0400"; | 50 | permissions = "0400"; |
diff --git a/nixops/modules/databases/openldap.nix b/nixops/modules/databases/openldap.nix index a447ccc..542e209 100644 --- a/nixops/modules/databases/openldap.nix +++ b/nixops/modules/databases/openldap.nix | |||
@@ -56,7 +56,7 @@ in { | |||
56 | }; | 56 | }; |
57 | 57 | ||
58 | config = lib.mkIf cfg.enable { | 58 | config = lib.mkIf cfg.enable { |
59 | mySecrets.keys = [ | 59 | secrets.keys = [ |
60 | { | 60 | { |
61 | dest = "ldap/password"; | 61 | dest = "ldap/password"; |
62 | permissions = "0400"; | 62 | permissions = "0400"; |
diff --git a/nixops/modules/databases/postgresql.nix b/nixops/modules/databases/postgresql.nix index b113e9f..3a58c48 100644 --- a/nixops/modules/databases/postgresql.nix +++ b/nixops/modules/databases/postgresql.nix | |||
@@ -69,7 +69,7 @@ in { | |||
69 | ''; | 69 | ''; |
70 | }; | 70 | }; |
71 | 71 | ||
72 | mySecrets.keys = [ | 72 | secrets.keys = [ |
73 | { | 73 | { |
74 | dest = "postgresql/pam"; | 74 | dest = "postgresql/pam"; |
75 | permissions = "0400"; | 75 | permissions = "0400"; |