From 1fda2742810c69e9a4c574d77ac18f69a24bfb5e Mon Sep 17 00:00:00 2001
From: Soispha <soispha@vhack.eu>
Date: Fri, 13 Oct 2023 18:19:21 +0200
Subject: Style(treewide): Merge attrs together

---
 system/services/nix-sync/default.nix | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'system/services/nix-sync')

diff --git a/system/services/nix-sync/default.nix b/system/services/nix-sync/default.nix
index 8c466b8..9826870 100644
--- a/system/services/nix-sync/default.nix
+++ b/system/services/nix-sync/default.nix
@@ -236,12 +236,12 @@ in {
         message = "Your cachePath ('${cfg.cachePath}') ends with a slash ('/'), please use: '${lib.strings.removeSuffix "/" cfg.cachePath}'.";
       }
     ];
+    systemd = {
+      tmpfiles.rules =
+        generatedDirectories;
 
-    systemd.tmpfiles.rules =
-      generatedDirectories;
-
-    systemd.services = services;
-    systemd.timers = timers;
+      inherit services timers;
+    };
     users.users =
       if cfg.user == "nix-sync"
       then {
-- 
cgit 1.4.1