nixos/hoogle: add home option (#44103)

authored by

Isaac Shapira and committed by
Jörg Thalheim
a8febbc4 9250c264

+7 -1
+7 -1
nixos/modules/services/development/hoogle.nix
··· 43 43 defaultText = "pkgs.haskellPackages"; 44 44 }; 45 45 46 + home = mkOption { 47 + type = types.str; 48 + description = "Url for hoogle logo"; 49 + default = "https://hoogle.haskell.org"; 50 + }; 51 + 46 52 }; 47 53 48 54 config = mkIf cfg.enable { ··· 53 59 54 60 serviceConfig = { 55 61 Restart = "always"; 56 - ExecStart = ''${hoogleEnv}/bin/hoogle server --local -p ${toString cfg.port}''; 62 + ExecStart = ''${hoogleEnv}/bin/hoogle server --local --port ${toString cfg.port} --home ${cfg.home}''; 57 63 58 64 User = "nobody"; 59 65 Group = "nogroup";