nixos/qgroundcontrol: fix qgroundcontrol module (#336183)

This commit is contained in:
Arne Keller 2024-12-09 06:47:34 +01:00 committed by GitHub
commit 13659a54fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 35 additions and 7 deletions

View file

@ -40,13 +40,8 @@ in
'';
};
# Security wrapper
security.wrappers.qgroundcontrol = {
source = lib.getExe cfg.package;
owner = "root"; # Sensible default; not setuid so this is not a security risk
group = "tty";
setgid = true;
};
# Add to systemPackages for desktop entry file
environment.systemPackages = [ cfg.package ];
};
meta.maintainers = pkgs.qgroundcontrol.meta.maintainers;