chore(sourcehut): remove all traces of custom cacert package fuckery
I found out that you can set an env variable to make python's request use the global cert store, this sidesteps the issue I have been having with sourcehut.
This commit is contained in:
parent
57dacc328b
commit
406d1cc6ca
2 changed files with 2 additions and 8 deletions
|
|
@ -2,12 +2,12 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ pkgs, nixpkgsWithPatchedCACert, ... }:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
(import ./sourcehut.nix { pkgs = nixpkgsWithPatchedCACert; })
|
||||
./sourcehut.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
|
|
|
|||
|
|
@ -7,20 +7,14 @@
|
|||
};
|
||||
};
|
||||
outputs = { nixpkgs, nixos-06cb-009a-fingerprint-sensor, ... }:
|
||||
let
|
||||
nixpkgsWithPatchedCACert = nixpkgs.override (import ./overlays/cacert.nix);
|
||||
in
|
||||
{
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./configuration.nix
|
||||
#(let nixpkgs = nixpkgsWithPatchedCACert; in ./sourcehut.nix)
|
||||
#(import ./sourcehut.nix { nixpkgs = nixpkgsWithPatchedCACert; })
|
||||
nixos-06cb-009a-fingerprint-sensor.nixosModules.open-fprintd
|
||||
nixos-06cb-009a-fingerprint-sensor.nixosModules.python-validity
|
||||
];
|
||||
extraArgs = { inherit nixpkgsWithPatchedCACert; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue