home: nixpkgs: use 'escapeShellArg'
All checks were successful
ci/woodpecker/push/check Pipeline was successful

This commit is contained in:
Bruno BELANYI 2024-06-18 13:13:42 +00:00
parent eb94fca939
commit 468eaa9ed4

View file

@ -13,8 +13,8 @@ in
]; ];
home.sessionVariables = { home.sessionVariables = {
GITHUB_TOKEN = ''$(cat "${config.age.secrets."github/token".path}")''; GITHUB_TOKEN = ''$(cat ${lib.escapeShellArg config.age.secrets."github/token".path})'';
GITHUB_API_TOKEN = ''$(cat "${config.age.secrets."github/token".path}")''; GITHUB_API_TOKEN = ''$(cat ${lib.escapeShellArg config.age.secrets."github/token".path})'';
}; };
}; };
} }