add flurry to nuos

This commit is contained in:
Noa Aarts 2024-12-12 23:20:52 +01:00
parent 5028d3958b
commit 570422d801
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -109,7 +109,8 @@
}; };
}; };
systemd.services."update-from-flake" = { systemd.services = {
"update-from-flake" = {
path = with pkgs; [ path = with pkgs; [
nixos-rebuild nixos-rebuild
git git
@ -131,6 +132,24 @@
restartIfChanged = false; restartIfChanged = false;
}; };
"flurry" = {
description = "Pixelflut server";
confinement.enable = true;
serviceConfig = {
ExecStart = "${inputs.flurry.packages.${pkgs.system}.default}/bin/flurry";
ExecStop = "pkill flurry";
Restart = "on-failure";
};
wants = [
"network-online.target"
];
after = [
"network-online.target"
];
wantedBy = [ "default.target" ];
};
};
virtualisation = { virtualisation = {
docker = { docker = {
enable = true; enable = true;
@ -279,6 +298,7 @@
}; };
"calendar.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:29341"; "calendar.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:29341";
"flurry.itepastra.nl" = proxy "itepastra.nl" "http://127.0.0.1:3000";
# home-assistant proxy # home-assistant proxy
"home.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:8123"; "home.itepastra.nl" = proxy "itepastra.nl" "http://[::1]:8123";
@ -311,6 +331,8 @@
8443 # nifi 8443 # nifi
7791 # flurry
25565 # minecraft 25565 # minecraft
24454 # minecraft (voice) 24454 # minecraft (voice)