0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/qgroundcontrol: Add cfg.package option

This commit is contained in:
Gavin John 2024-09-18 16:23:18 -07:00
parent 380350455a
commit 765c9bf44e
No known key found for this signature in database
GPG key ID: 792E158CDD33C3EE

View file

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