Merge pull request #102076 from Taneb/hoogle-dynamic-user

Set DynamicUser=true for hoogle
wip/yesman
Silvan Mosberger 4 years ago committed by GitHub
commit 2526f22723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      nixos/modules/services/development/hoogle.nix

@ -61,10 +61,8 @@ in {
Restart = "always";
ExecStart = ''${hoogleEnv}/bin/hoogle server --local --port ${toString cfg.port} --home ${cfg.home}'';
User = "nobody";
Group = "nogroup";
DynamicUser = true;
PrivateTmp = true;
ProtectHome = true;
RuntimeDirectory = "hoogle";

Loading…
Cancel
Save