From 9a890b643fa6d9811cd6b2f8001350299fb08112 Mon Sep 17 00:00:00 2001 From: Peter Selby Date: Mon, 6 Nov 2023 19:10:45 -0800 Subject: [PATCH] tmpfiles doesn't exist outside linux --- niten.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/niten.nix b/niten.nix index 3ee5de6..5398547 100644 --- a/niten.nix +++ b/niten.nix @@ -231,6 +231,6 @@ in { }; }; - systemd.user.tmpfiles.rules = - map (dir: "d ${home-dir}/${dir} 700 niten - - -") ensure-directories; + systemd.user.tmpfiles.rules = optionals isLinux + (map (dir: "d ${home-dir}/${dir} 700 niten - - -") ensure-directories); }