home-manager/files/mutable-files: update fetch script (again)

This commit is contained in:
Gabriel Arazas 2024-03-02 12:44:02 +08:00
parent c73f9e0c1e
commit 56463dec13
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -178,13 +178,14 @@ in
'') '')
cfg; cfg;
script = pkgs.writeShellApplication { runtimeInputs = lib.makeBinPath (with pkgs; [
name = "fetch-mutable-files"; archiver curl git gopass
runtimeInputs = with pkgs; [ archiver curl git gopass ]; ]);
text = lib.concatStringsSep "\n" mutableFilesCmds;
};
in in
"${script}/bin/fetch-mutable-files"; pkgs.writeShellScript "fetch-mutable-files" ''
export PATH=${runtimeInputs}
${lib.concatStringsSep "\n" mutableFilesCmds}
'';
ExecStartPost = ExecStartPost =
let let