Wonder why this wasn't removed in the rebase?
This commit is contained in:
parent
98c058a1ee
commit
849dcde2a5
@ -1,25 +0,0 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
let cfg = config.programs.unity3d;
|
|
||||||
in {
|
|
||||||
|
|
||||||
options = {
|
|
||||||
programs.unity3d.enable = mkEnableOption "Unity3D, a game development tool";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
security.permissionsWrappers.setuid = [{
|
|
||||||
program = "unity-chrome-sandbox";
|
|
||||||
source = "${pkgs.unity3d.sandbox}/bin/unity-chrome-sandbox";
|
|
||||||
owner = "root";
|
|
||||||
#group = "root";
|
|
||||||
setuid = true;
|
|
||||||
#setgid = true;
|
|
||||||
}];
|
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.unity3d ];
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user