From 9a5305bf19da5406679024cdb07c1f859741214c Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 4 Sep 2022 15:46:18 +0200 Subject: [PATCH] media-mount: Ensure it is owned by user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise home-manager can’t symlink .envrc. --- modules/media-mount.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/media-mount.nix b/modules/media-mount.nix index 1bfc158..a01c2a9 100644 --- a/modules/media-mount.nix +++ b/modules/media-mount.nix @@ -55,4 +55,8 @@ lib.mkIf config.sbruder.gui.enable { }; }; }; + + systemd.tmpfiles.rules = [ + "d /home/simon/mounts 0750 simon users - -" + ]; }