Add sops-secrets, configure oauth
This commit is contained in:
22
hosts/chapel/services/hedgedoc.nix
Normal file
22
hosts/chapel/services/hedgedoc.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.hedgedoc = {
|
||||
enable = true;
|
||||
settings = {
|
||||
port = 3031;
|
||||
allowFreeURL = true;
|
||||
};
|
||||
config = {
|
||||
domain = "md.feal.no";
|
||||
db = {
|
||||
dialect = "mysql";
|
||||
host = "mysql.home.feal.no";
|
||||
port = 3306;
|
||||
database = "hedgedoc";
|
||||
username = "hedgedoc";
|
||||
password = "DummyPasswordPlzSops";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user