From fc019d789523ce5f89436b8dbc458cf3b79abf43 Mon Sep 17 00:00:00 2001 From: aristote Date: Tue, 29 Jul 2025 15:25:11 +0200 Subject: reformat everything with nixfmt --- pkgs/lib/home-manager/default.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'pkgs/lib/home-manager') diff --git a/pkgs/lib/home-manager/default.nix b/pkgs/lib/home-manager/default.nix index ad3878f..e07e0b8 100644 --- a/pkgs/lib/home-manager/default.nix +++ b/pkgs/lib/home-manager/default.nix @@ -1,12 +1,22 @@ { }: { - serviceWithTimer = name: - { Unit, Service, Timer, Install, ... }@config: { + serviceWithTimer = + name: + { + Unit, + Service, + Timer, + Install, + ... + }@config: + { services.${name} = { inherit (config) Unit Install Service; }; timers.${name} = { inherit (config) Unit Install; - Timer = config.Timer // { Unit = "${name}.service"; }; + Timer = config.Timer // { + Unit = "${name}.service"; + }; }; }; } -- cgit v1.2.3