home/charon: Modularize
This commit is contained in:
parent
0b052b3264
commit
4a64cd0d21
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
imports = [
|
||||
../snippets/everywhere.nix
|
||||
../snippets/my-systems.nix
|
||||
../snippets/morgenreport.nix
|
||||
../snippets/sort-mail.nix
|
||||
../snippets/habitask.nix
|
||||
];
|
||||
}
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
9
home/hosts/charon/home.nix
Normal file
9
home/hosts/charon/home.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
imports = [
|
||||
../../snippets/everywhere.nix
|
||||
../../snippets/my-systems.nix
|
||||
./morgenreport.nix
|
||||
./sort-mail.nix
|
||||
./habitask.nix
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue