1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 03:51:07 +01:00

feat(makanek): rip containers

This commit is contained in:
2022-01-07 17:23:28 +01:00
parent e76ed000cb
commit df461aa72d
2 changed files with 29 additions and 28 deletions

View File

@@ -5,10 +5,10 @@ let
backendPort = 8000; backendPort = 8000;
in in
{ {
containers.menstruation.autoStart = true;
containers.menstruation.config = { config, pkgs, ... }: {
services.redis.enable = true; services.redis.enable = true;
environment.systemPackages = [ pkgs.redis ];
systemd.services.menstruation-telegram = { systemd.services.menstruation-telegram = {
wants = [ wants = [
"network-online.target" "network-online.target"
@@ -37,5 +37,4 @@ in
ExecStart = "${backend}/bin/menstruation_server"; ExecStart = "${backend}/bin/menstruation_server";
}; };
}; };
};
} }

View File

@@ -5,6 +5,8 @@ let
}); });
in in
{ {
imports = [ <niveum/modules/moodle-dl.nix> ];
services.moodle-dl = { services.moodle-dl = {
enable = true; enable = true;
startAt = "hourly"; startAt = "hourly";