mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
Apply nixfmt on many files
This commit is contained in:
parent
9799d3de2d
commit
45abf3d38a
177 changed files with 2850 additions and 3565 deletions
|
|
@ -6,9 +6,7 @@ let
|
|||
|
||||
cfg = config.services.taskwarrior-sync;
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
meta.maintainers = with maintainers; [ minijackson pacien ];
|
||||
|
||||
options.services.taskwarrior-sync = {
|
||||
|
|
@ -32,9 +30,7 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
systemd.user.services.taskwarrior-sync = {
|
||||
Unit = {
|
||||
Description = "Taskwarrior sync";
|
||||
};
|
||||
Unit = { Description = "Taskwarrior sync"; };
|
||||
Service = {
|
||||
CPUSchedulingPolicy = "idle";
|
||||
IOSchedulingClass = "idle";
|
||||
|
|
@ -43,16 +39,12 @@ in
|
|||
};
|
||||
|
||||
systemd.user.timers.taskwarrior-sync = {
|
||||
Unit = {
|
||||
Description = "Taskwarrior periodic sync";
|
||||
};
|
||||
Unit = { Description = "Taskwarrior periodic sync"; };
|
||||
Timer = {
|
||||
Unit = "taskwarrior-sync.service";
|
||||
OnCalendar = cfg.frequency;
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "timers.target" ];
|
||||
};
|
||||
Install = { WantedBy = [ "timers.target" ]; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue