mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
nixos/qgroundcontrol: fix qgroundcontrol module (#336183)
This commit is contained in:
commit
13659a54fc
3 changed files with 35 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue