1
0
Fork 0

home/charon: Modularize

This commit is contained in:
Malte Brandy 2018-02-14 10:19:22 +01:00
parent 0b052b3264
commit 4a64cd0d21
5 changed files with 23 additions and 10 deletions

View file

@ -1,9 +0,0 @@
{
imports = [
../snippets/everywhere.nix
../snippets/my-systems.nix
../snippets/morgenreport.nix
../snippets/sort-mail.nix
../snippets/habitask.nix
];
}

View file

@ -9,5 +9,18 @@ let
buildInputs = [ openssl pkgconfig ];
};
in {
home.packages = [ habitask ];
systemd.user = {
services.habitask = {
Unit = {
Description = "Update habitica Tasks";
};
Service = {
Type = "oneshot";
ExecStart="{habitask}/bin/habitask";
};
};
timers.habitask = {
Timer.OnCalendar = "6:00";
};
};
}

View file

@ -0,0 +1,9 @@
{
imports = [
../../snippets/everywhere.nix
../../snippets/my-systems.nix
./morgenreport.nix
./sort-mail.nix
./habitask.nix
];
}