1
0
Fork 0

Always enable hoogle

This commit is contained in:
Malte Brandy 2020-08-15 03:12:48 +02:00
parent 1003e2df97
commit dc018421ae
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
3 changed files with 12 additions and 8 deletions

View file

@ -60,6 +60,7 @@ in {
apolloConfig = imports:
makeConfig "apollo" (imports ++ [
./roles/zettelkasten.nix
./roles/hoogle.nix
./roles/battery.nix
./roles/mpd.nix
./roles/beets.nix

View file

@ -0,0 +1,11 @@
{ 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";
};
};
}

View file

@ -6,12 +6,4 @@
meld icedtea8_web octave filezilla nix-review gparted
grafana-devel;
};
systemd.user.services.hoogle = {
Unit.Description = "Hoogle server";
Install.WantedBy = [ "graphical-session.target" ];
Service = {
ExecStart = "${pkgs.ghc}/bin/hoogle server --local --links";
Restart = "always";
};
};
}