mirror of
https://git.feal.no/felixalb/nixos-config.git
synced 2024-12-14 08:36:54 +01:00
23 lines
409 B
Nix
23 lines
409 B
Nix
|
{ 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";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|