From aaa93341a9b24c17f5995e537126cb64c1384b02 Mon Sep 17 00:00:00 2001
From: Ryan Mulligan <ryan@ryantm.com>
Date: Wed, 21 Dec 2022 07:22:45 -0800
Subject: [PATCH] nixpkgs-update fix systemd tmpfiles unsafe transitions

---
 build02/nixpkgs-update.nix | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build02/nixpkgs-update.nix b/build02/nixpkgs-update.nix
index b40861d..6b025a2 100644
--- a/build02/nixpkgs-update.nix
+++ b/build02/nixpkgs-update.nix
@@ -158,8 +158,10 @@ in
 
     "e /var/cache/nixpkgs-update/worker/nixpkgs-review - - - 1d -"
 
-    "L+ /var/lib/nixpkgs-update/bin/nixpkgs-update - - - - ${nixpkgs-update.defaultPackage.${pkgs.system}}/bin/nixpkgs-update"
+    "d /var/lib/nixpkgs-update/bin/ 700 r-ryantm r-ryantm - -"
+    "L+ ${nixpkgs-update-bin} - - - - ${nixpkgs-update.defaultPackage.${pkgs.system}}/bin/nixpkgs-update"
     "L+ /var/lib/nixpkgs-update/worker/github_token.txt - - - - ${config.sops.secrets.github-r-ryantm-token.path}"
+    "d /var/lib/nixpkgs-update/worker/cachix/ 700 r-ryantm r-ryantm - -"
     "L+ /var/lib/nixpkgs-update/worker/cachix/cachix.dhall - - - - ${config.sops.secrets.nix-community-cachix.path}"
   ];