summaryrefslogtreecommitdiffstats
path: root/tv/3modules
diff options
context:
space:
mode:
Diffstat (limited to 'tv/3modules')
-rw-r--r--tv/3modules/charybdis/default.nix4
-rw-r--r--tv/3modules/ejabberd/default.nix2
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";
};
};