mastodon: Save redis state over reboots
This commit is contained in:
parent
c25afed065
commit
7671566751
1 changed files with 19 additions and 16 deletions
|
@ -7,7 +7,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.chvp.services.mastodon.enable {
|
config = lib.mkIf config.chvp.services.mastodon.enable {
|
||||||
chvp.services.nginx.hosts = [{
|
chvp = {
|
||||||
|
base.zfs.systemLinks = [{ path = "/var/lib/redis-mastodon"; type = "cache"; }];
|
||||||
|
services.nginx.hosts = [{
|
||||||
fqdn = "social.chvp.be";
|
fqdn = "social.chvp.be";
|
||||||
options = {
|
options = {
|
||||||
root = "${pkgs.mastodon}/public/";
|
root = "${pkgs.mastodon}/public/";
|
||||||
|
@ -25,6 +27,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
};
|
||||||
users = {
|
users = {
|
||||||
users = {
|
users = {
|
||||||
mastodon.uid = 989;
|
mastodon.uid = 989;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue