summaryrefslogtreecommitdiff
path: root/home/pkgs/lib/default.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2023-02-28 17:50:16 +0100
committerQuentin Aristote <quentin@aristote.fr>2023-02-28 17:50:16 +0100
commit52c53ee7055cd5876112543c28ff6b5626a99313 (patch)
tree6fe6815fda0e81bf00013ffcad4db6e115b933a6 /home/pkgs/lib/default.nix
parent1f349513ad5079e9f07ea524fd7039261e942ba4 (diff)
parentb0214d50e9a728d77d98d791e92dfe3747f27e23 (diff)
Merge branch 'flake-home-manager' into flake
Diffstat (limited to 'home/pkgs/lib/default.nix')
-rw-r--r--home/pkgs/lib/default.nix11
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"; };
- };
- };
-}