mirror of
https://github.com/kmein/niveum
synced 2026-03-19 19:41:08 +01:00
feat(makanek): rip containers
This commit is contained in:
@@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user