From faaebbedcabdabcb94e5382e48e729e0624cabce Mon Sep 17 00:00:00 2001 From: h7x4 <h7x4@nani.wtf> Date: Wed, 2 Apr 2025 12:53:12 +0200 Subject: [PATCH] home: create a few common dirs via tmpfiles --- home/home.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/home/home.nix b/home/home.nix index 5455aeb..7359b83 100644 --- a/home/home.nix +++ b/home/home.nix @@ -193,4 +193,13 @@ in { platformTheme.name = "adwaita"; style.name = "adwaita-dark"; }; + + systemd.user.tmpfiles.rules = [ + "d ${config.home.homeDirectory}/work - ${config.home.username} - - -" + "d ${config.home.homeDirectory}/git - ${config.home.username} - - -" + "d ${config.home.homeDirectory}/SD - ${config.home.username} - - -" + "d ${config.home.homeDirectory}/pictures/wallpapers - ${config.home.username} - - -" + + "L ${config.xdg.dataHome}/wallpapers - ${config.home.username} - - ${config.home.homeDirectory}/pictures/wallpapers" + ]; }