forked from lukas/nixos-config
18 lines
603 B
Nix
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";
|
|
};
|
|
};
|
|
}
|