11 lines
270 B
Nix
11 lines
270 B
Nix
{ pkgs, ... }:
|
|
{
|
|
systemd.user.services.hoogle = {
|
|
Unit.Description = "Hoogle server";
|
|
Install.WantedBy = [ "graphical-session.target" ];
|
|
Service = {
|
|
ExecStart = "${pkgs.ghc}/bin/hoogle server --local --links";
|
|
Restart = "always";
|
|
};
|
|
};
|
|
}
|