1
0
Fork 0
forked from lukas/nixos-config
nixos-config/hosts/pinix/localServices/dashboard.nix
2025-09-27 11:34:23 +02:00

18 lines
603 B
Nix

{
systemd.services."desk" = {
wantedBy = [ "multi-user.target" ];
description = "Web Server desk for internal network";
serviceConfig = {
ExecStart = "/run/current-system/sw/bin/static-web-server --host 0.0.0.0 --port 8005 --root /var/www/desk-0ff-space";
Restart = "always";
};
};
systemd.services."dashboard" = {
wantedBy = [ "multi-user.target" ];
description = "Web Server dashboard for internal network";
serviceConfig = {
ExecStart = "/run/current-system/sw/bin/static-web-server --host 0.0.0.0 --port 8002 --root /var/www/dashboard";
Restart = "always";
};
};
}