diff options
Diffstat (limited to 'home/pkgs/lib/default.nix')
| -rw-r--r-- | home/pkgs/lib/default.nix | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/home/pkgs/lib/default.nix b/home/pkgs/lib/default.nix deleted file mode 100644 index 55e6c20..0000000 --- a/home/pkgs/lib/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{ pkgs }: - -{ - 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"; }; - }; - }; -} |
