summaryrefslogtreecommitdiff
path: root/home/pkgs/lib/default.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2023-02-21 22:34:46 +0100
committerQuentin Aristote <quentin@aristote.fr>2023-02-28 17:48:23 +0100
commitb0214d50e9a728d77d98d791e92dfe3747f27e23 (patch)
tree95810c2d5c7af41d0e3e85570e60c2fb6658291c /home/pkgs/lib/default.nix
parente761ac4b2c69f8ac267e53fa437c6978b207d743 (diff)
factor out common home-manager configuration
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"; };
- };
- };
-}