fix: properly run screenshare as user and service

This commit is contained in:
Leon Schwarzäugl 2025-03-22 23:11:50 +01:00
parent 868b8eaec5
commit d7a7571b00
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 76 additions and 10 deletions

View file

@ -122,7 +122,7 @@ in
enable = true;
description = "Screensharing service upon dongle plugin";
serviceConfig = {
ExecStart = "${pkgs.screenshare}/bin/screenshare";
ExecStart = "${pkgs.screenshare}/bin/screenshare -h";
User = mainUser;
Group = "users";
Environment = [