Compare commits
2 Commits
1c41525b97
...
dc75ef6600
| Author | SHA1 | Date | |
|---|---|---|---|
|
dc75ef6600
|
|||
|
7de519b118
|
@@ -27,9 +27,10 @@
|
||||
];
|
||||
homepage = "https://writefreely.org";
|
||||
sourcePage = "https://github.com/writefreely/writefreely";
|
||||
supportLevel = "normal";
|
||||
supportLevel = "experimental";
|
||||
sso = {
|
||||
userGroup = "sp.writefreely.users";
|
||||
adminGroup = "sp.writefreely.admins";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
26
module.nix
26
module.nix
@@ -51,6 +51,18 @@ in
|
||||
weight = 0;
|
||||
};
|
||||
};
|
||||
appName =
|
||||
(lib.mkOption {
|
||||
default = "WriteFreely";
|
||||
type = lib.types.str;
|
||||
description = "Name of the WriteFreely instance.";
|
||||
})
|
||||
// {
|
||||
meta = {
|
||||
type = "str";
|
||||
weight = 1;
|
||||
};
|
||||
};
|
||||
enableFederation =
|
||||
(lib.mkOption {
|
||||
default = false;
|
||||
@@ -60,18 +72,6 @@ in
|
||||
// {
|
||||
meta = {
|
||||
type = "bool";
|
||||
weight = 1;
|
||||
};
|
||||
};
|
||||
title =
|
||||
(lib.mkOption {
|
||||
default = "WriteFreely";
|
||||
type = lib.types.str;
|
||||
description = "Name of the WriteFreely instance.";
|
||||
})
|
||||
// {
|
||||
meta = {
|
||||
type = "str";
|
||||
weight = 2;
|
||||
};
|
||||
};
|
||||
@@ -99,7 +99,7 @@ in
|
||||
settings = {
|
||||
server.port = 8081;
|
||||
app = {
|
||||
site_name = cfg.title;
|
||||
site_name = cfg.appName;
|
||||
single_user = false;
|
||||
federation = cfg.enableFederation;
|
||||
disable_password_auth = true;
|
||||
|
||||
Reference in New Issue
Block a user