diff options
author | Soispha <soispha@vhack.eu> | 2023-10-13 18:19:21 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-10-14 16:21:07 +0200 |
commit | 1fda2742810c69e9a4c574d77ac18f69a24bfb5e (patch) | |
tree | 50bc268bb09026017a7ec506802616323372c64b /system/services/nix-sync/default.nix | |
parent | fix(system/services/miniflux): Set correct subdomain, but leave alias (diff) | |
download | nixos-server-1fda2742810c69e9a4c574d77ac18f69a24bfb5e.tar.gz nixos-server-1fda2742810c69e9a4c574d77ac18f69a24bfb5e.zip |
Style(treewide): Merge attrs together
Diffstat (limited to '')
-rw-r--r-- | system/services/nix-sync/default.nix | 10 |
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 { |