diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-16 17:40:07 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-16 20:20:45 +0200 |
commit | 4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0 (patch) | |
tree | 9a7ede9ac3f1899074e9ef568a447f883191d3b5 /modules/private/websites/jerome | |
parent | da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2 (diff) | |
download | Nix-4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0.tar.gz Nix-4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0.tar.zst Nix-4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0.zip |
Use attrs for secrets instead of lists
Diffstat (limited to 'modules/private/websites/jerome')
-rw-r--r-- | modules/private/websites/jerome/naturaloutil.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/private/websites/jerome/naturaloutil.nix b/modules/private/websites/jerome/naturaloutil.nix index 95d7e78..0974ce3 100644 --- a/modules/private/websites/jerome/naturaloutil.nix +++ b/modules/private/websites/jerome/naturaloutil.nix | |||
@@ -15,8 +15,7 @@ in { | |||
15 | 15 | ||
16 | security.acme.certs."ftp".extraDomains."naturaloutil.immae.eu" = null; | 16 | security.acme.certs."ftp".extraDomains."naturaloutil.immae.eu" = null; |
17 | 17 | ||
18 | secrets.keys = [{ | 18 | secrets.keys."websites/jerome/naturaloutil" = { |
19 | dest = "websites/jerome/naturaloutil"; | ||
20 | user = apacheUser; | 19 | user = apacheUser; |
21 | group = apacheGroup; | 20 | group = apacheGroup; |
22 | permissions = "0400"; | 21 | permissions = "0400"; |
@@ -35,7 +34,7 @@ in { | |||
35 | $database = connect_db($db, $mysql_server, $mysql_base, $mysql_user, $mysql_password); | 34 | $database = connect_db($db, $mysql_server, $mysql_base, $mysql_user, $mysql_password); |
36 | ?> | 35 | ?> |
37 | ''; | 36 | ''; |
38 | }]; | 37 | }; |
39 | system.activationScripts.jerome_naturaloutil = { | 38 | system.activationScripts.jerome_naturaloutil = { |
40 | deps = [ "httpd" ]; | 39 | deps = [ "httpd" ]; |
41 | text = '' | 40 | text = '' |