summary refs log tree commit diff stats
path: root/system/services/nix-sync/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-13 18:19:21 +0200
committerSoispha <soispha@vhack.eu>2023-10-14 16:21:07 +0200
commit1fda2742810c69e9a4c574d77ac18f69a24bfb5e (patch)
tree50bc268bb09026017a7ec506802616323372c64b /system/services/nix-sync/default.nix
parentfix(system/services/miniflux): Set correct subdomain, but leave alias (diff)
downloadnixos-server-1fda2742810c69e9a4c574d77ac18f69a24bfb5e.tar.gz
nixos-server-1fda2742810c69e9a4c574d77ac18f69a24bfb5e.zip
Style(treewide): Merge attrs together
Diffstat (limited to 'system/services/nix-sync/default.nix')
-rw-r--r--system/services/nix-sync/default.nix10
1 files changed, 5 insertions, 5 deletions
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 {