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
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ pkgs, nixpkgsWithPatchedCACert, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
(import ./sourcehut.nix { pkgs = nixpkgsWithPatchedCACert; })
|
./sourcehut.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|
|
||||||
|
|
@ -7,20 +7,14 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
outputs = { nixpkgs, nixos-06cb-009a-fingerprint-sensor, ... }:
|
outputs = { nixpkgs, nixos-06cb-009a-fingerprint-sensor, ... }:
|
||||||
let
|
|
||||||
nixpkgsWithPatchedCACert = nixpkgs.override (import ./overlays/cacert.nix);
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./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.open-fprintd
|
||||||
nixos-06cb-009a-fingerprint-sensor.nixosModules.python-validity
|
nixos-06cb-009a-fingerprint-sensor.nixosModules.python-validity
|
||||||
];
|
];
|
||||||
extraArgs = { inherit nixpkgsWithPatchedCACert; };
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue