From 86fb8dde579b30f1db4bb29d75d3a853127009c8 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 5 May 2025 21:13:40 +0200 Subject: [PATCH] home/shell: use modern tmpfiles api --- home/shell.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home/shell.nix b/home/shell.nix index 6352988..baa953b 100644 --- a/home/shell.nix +++ b/home/shell.nix @@ -31,9 +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} - - -" - ]; + systemd.user.tmpfiles.settings."10-shell"."${config.xdg.configHome}/mutable_env.sh".f = { + user = config.home.username; + mode = "0700"; + }; local.shell.aliases = {