Skip to content

Commit

Permalink
fix: make sure setting the GitHub token in the environment works reli…
Browse files Browse the repository at this point in the history
…ably
  • Loading branch information
flexiondotorg committed Sep 17, 2024
1 parent e5eb135 commit 020060f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions home-manager/_mixins/users/martin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ in
};
programs = {
fish.interactiveShellInit = ''
set -x GH_TOKEN (cat ${config.sops.secrets.gh_token.path})
set -x GITHUB_TOKEN (cat ${config.sops.secrets.gh_token.path})
set -x GH_TOKEN (${pkgs.coreutils}/bin/cat ${config.sops.secrets.gh_token.path} 2>/dev/null)
set -x GITHUB_TOKEN (${pkgs.coreutils}/bin/cat ${config.sops.secrets.gh_token.path} 2>/dev/null)
'';
fish.loginShellInit = ''
${pkgs.figurine}/bin/figurine -f "DOS Rebel.flf" $hostname
Expand Down

0 comments on commit 020060f

Please sign in to comment.