Just fuck the admin passwd
This commit is contained in:
parent
88b8c4b3c0
commit
555a3eff5f
|
@ -23,10 +23,10 @@ in {
|
||||||
description = "Name of the Lemmy site.";
|
description = "Name of the Lemmy site.";
|
||||||
};
|
};
|
||||||
|
|
||||||
admin-password-file = mkOption {
|
# admin-password-file = mkOption {
|
||||||
type = str;
|
# type = str;
|
||||||
description = "Path to a file containing the administrator password.";
|
# description = "Path to a file containing the administrator password.";
|
||||||
};
|
# };
|
||||||
|
|
||||||
smtp = {
|
smtp = {
|
||||||
host = mkOption {
|
host = mkOption {
|
||||||
|
@ -77,10 +77,10 @@ in {
|
||||||
hostPath = "${cfg.state-directory}/pictrs";
|
hostPath = "${cfg.state-directory}/pictrs";
|
||||||
isReadOnly = false;
|
isReadOnly = false;
|
||||||
};
|
};
|
||||||
"/run/lemmy-container/admin.passwd" = {
|
# "/run/lemmy-container/admin.passwd" = {
|
||||||
isReadOnly = true;
|
# isReadOnly = true;
|
||||||
hostPath = cfg.admin-password-file;
|
# hostPath = cfg.admin-password-file;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
additionalCapabilities = [ "CAP_SYS_ADMIN" ];
|
additionalCapabilities = [ "CAP_SYS_ADMIN" ];
|
||||||
config = {
|
config = {
|
||||||
|
@ -112,7 +112,7 @@ in {
|
||||||
lemmy = {
|
lemmy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
database.uriFile = "/run/lemmy/postgresql.passwd";
|
database.uriFile = "/run/lemmy/postgresql.passwd";
|
||||||
adminPasswordFile = "/run/lemmy-container/admin.passwd";
|
# adminPasswordFile = "/run/lemmy-container/admin.passwd";
|
||||||
nginx.enable = true;
|
nginx.enable = true;
|
||||||
server.package = cfg.server-package;
|
server.package = cfg.server-package;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Reference in New Issue