taskwarrior web server
This commit is contained in:
parent
d30d1c82b6
commit
974b42d671
6 changed files with 67 additions and 29 deletions
23
modules/home/taskwarrior-web.nix
Normal file
23
modules/home/taskwarrior-web.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
systemd.user.services.taskwarrior-web = {
|
||||
Unit = {
|
||||
Description = "taskwarrior web";
|
||||
After = [ "network.target" ];
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "/home/media/.local/bin/tww/taskwarrior-web";
|
||||
Restart = "always";
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".local/bin/tww" = {
|
||||
source = ../../modules/home/tww;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue