13 lines
256 B
Nix
13 lines
256 B
Nix
|
{ config, lib, pkgs, ...}:
|
||
|
|
||
|
{
|
||
|
systemd.services.grasp = {
|
||
|
description = "grasp server";
|
||
|
wantedBy = [ "default.target" ];
|
||
|
|
||
|
serviceConfig = {
|
||
|
ExecStart = "{$pkgs.grasp}/server/grasp_server.py --path /data/grasp/capture.org";
|
||
|
};
|
||
|
};
|
||
|
}
|