diff --git a/configuration/common/certificates.nix b/configuration/common/certificates.nix new file mode 100644 index 0000000..ab443fe --- /dev/null +++ b/configuration/common/certificates.nix @@ -0,0 +1,9 @@ +{ config, ... }: + +{ + + environment.sessionVariables = { + REQUESTS_CA_BUNDLE = config.security.pki.caBundle; + }; + +} diff --git a/configuration/common/default.nix b/configuration/common/default.nix index 6d599f5..3c07706 100644 --- a/configuration/common/default.nix +++ b/configuration/common/default.nix @@ -3,6 +3,7 @@ { imports = [ ./backup.nix + ./certificates.nix ./initrd.nix ./locale.nix ./networking.nix diff --git a/pkgs/git-show-link/git-show-link.py b/pkgs/git-show-link/git-show-link.py index 3ed4981..63647d0 100755 --- a/pkgs/git-show-link/git-show-link.py +++ b/pkgs/git-show-link/git-show-link.py @@ -41,7 +41,7 @@ def get_remote_branch(): local_branch, remote_branch = branches - remote, branch = remote_branch.split("/") + remote, branch = remote_branch.split("/", maxsplit=1) return { "remote": remote,