diff options
author | tv <tv@krebsco.de> | 2016-02-21 07:18:13 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-21 07:18:13 +0100 |
commit | e3ddf995e92985ee14dab5735ac55045c166aaaf (patch) | |
tree | f78776a57ce561e88950228cb2110d7372d11d94 /tv | |
parent | 05be525be6d0896b155da7305b2cee950fb3530e (diff) |
krebs types.secret-file: owner-name -> owner :: user
Diffstat (limited to 'tv')
-rw-r--r-- | tv/3modules/charybdis/default.nix | 4 | ||||
-rw-r--r-- | tv/3modules/ejabberd/default.nix | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tv/3modules/charybdis/default.nix b/tv/3modules/charybdis/default.nix index 87cb37ef4..3af971cd4 100644 --- a/tv/3modules/charybdis/default.nix +++ b/tv/3modules/charybdis/default.nix @@ -18,7 +18,7 @@ in { type = types.secret-file; default = { path = "${cfg.user.home}/dh.pem"; - owner-name = "charybdis"; + owner = cfg.user; source-path = toString <secrets> + "/charybdis.dh.pem"; }; }; @@ -26,7 +26,7 @@ in { type = types.secret-file; default = { path = "${cfg.user.home}/ssl.key.pem"; - owner-name = "charybdis"; + owner = cfg.user; source-path = toString <secrets> + "/charybdis.key.pem"; }; }; diff --git a/tv/3modules/ejabberd/default.nix b/tv/3modules/ejabberd/default.nix index da108eb52..95ea24be1 100644 --- a/tv/3modules/ejabberd/default.nix +++ b/tv/3modules/ejabberd/default.nix @@ -7,7 +7,7 @@ in { type = types.secret-file; default = { path = "${cfg.user.home}/ejabberd.pem"; - owner-name = "ejabberd"; + owner = cfg.user; source-path = toString <secrets> + "/ejabberd.pem"; }; }; |