23 lines
422 B
Nix
23 lines
422 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
systemd.user.services.taskwarrior-web = {
|
|
Unit = {
|
|
Description = "taskwarrior web";
|
|
After = [ "network.target" ];
|
|
};
|
|
Install = {
|
|
WantedBy = [ "multi-user.target" ];
|
|
};
|
|
Service = {
|
|
Type = "simple";
|
|
ExecStart = "/home/emenel/.local/bin/tww/tw-start.sh";
|
|
Restart = "always";
|
|
};
|
|
};
|
|
|
|
home.file.".local/bin/tww" = {
|
|
source = ./tww;
|
|
};
|
|
}
|