diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-08 01:56:47 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-08 10:49:00 +0300 |
commit | 1e8894f085f0fb9f323058bc7168a9073ef9f6bb (patch) | |
tree | 298568057bf5e39ff1d62c4d20c1720a39ac2c8d /nixos/modules/programs | |
parent | b2413e48aea29b24ae9994c2c8bddf7e96245cc2 (diff) | |
download | nixlib-1e8894f085f0fb9f323058bc7168a9073ef9f6bb.tar nixlib-1e8894f085f0fb9f323058bc7168a9073ef9f6bb.tar.gz nixlib-1e8894f085f0fb9f323058bc7168a9073ef9f6bb.tar.bz2 nixlib-1e8894f085f0fb9f323058bc7168a9073ef9f6bb.tar.lz nixlib-1e8894f085f0fb9f323058bc7168a9073ef9f6bb.tar.xz nixlib-1e8894f085f0fb9f323058bc7168a9073ef9f6bb.tar.zst nixlib-1e8894f085f0fb9f323058bc7168a9073ef9f6bb.zip |
unity3d: use chromium-suid-sandbox
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/unity3d.nix | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/nixos/modules/programs/unity3d.nix b/nixos/modules/programs/unity3d.nix deleted file mode 100644 index 3c0ea26d9d56..000000000000 --- a/nixos/modules/programs/unity3d.nix +++ /dev/null @@ -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.setuidOwners = [{ - program = "unity-chrome-sandbox"; - source = "${pkgs.unity3d.sandbox}/bin/unity-chrome-sandbox"; - owner = "root"; - #group = "root"; - setuid = true; - #setgid = true; - }]; - - environment.systemPackages = [ pkgs.unity3d ]; - }; - -} |