From 6924ad447cb4d04e984c345bad2926ae0d7d533b Mon Sep 17 00:00:00 2001 From: h7x4 Date: Wed, 2 Apr 2025 12:52:45 +0200 Subject: [PATCH] home/shell: create `mutable_env.sh` via tmpfiles --- home/shell.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/shell.nix b/home/shell.nix index 34b0e86..29c34c6 100644 --- a/home/shell.nix +++ b/home/shell.nix @@ -31,6 +31,10 @@ in { source "${config.sops.secrets."nordicsemi/envvars".path}" ''; + systemd.user.tmpfiles.rules = [ + "f ${config.xdg.configHome}/mutable_env.sh 0700 ${config.home.username} - - -" + ]; + local.shell.aliases = { # ░█▀▄░█▀▀░█▀█░█░░░█▀█░█▀▀░█▀▀░█▄█░█▀▀░█▀█░▀█▀░█▀▀