diff options
| author | Jonas Heinrich <onny@project-insanity.org> | 2022-08-03 23:07:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-03 23:07:43 +0200 |
| commit | 774cc695098aebdeca7a8ba275d2d708d468161d (patch) | |
| tree | 00954be12c683630f028f04b7b897223b04332e4 | |
| parent | Merge pull request #184027 from Shawn8901/installNoisetorchWithProgram (diff) | |
| download | nixpkgs-origin/revert-184027-installNoisetorchWithProgram.tar.gz | |
Revert "noisetorch: Add noisetorch to systemPackages with programs.noisetorch enable"origin/revert-184027-installNoisetorchWithProgram
| -rw-r--r-- | nixos/modules/programs/noisetorch.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/programs/noisetorch.nix b/nixos/modules/programs/noisetorch.nix index d5e004da73eb..c69b2581296f 100644 --- a/nixos/modules/programs/noisetorch.nix +++ b/nixos/modules/programs/noisetorch.nix @@ -3,8 +3,7 @@ with lib; let cfg = config.programs.noisetorch; -in -{ +in { options.programs.noisetorch = { enable = mkEnableOption "noisetorch + setcap wrapper"; @@ -25,6 +24,5 @@ in capabilities = "cap_sys_resource=+ep"; source = "${cfg.package}/bin/noisetorch"; }; - environment.systemPackages = [ cfg.package ]; }; } |
