commit d37cd2033faaf7ad159b6c1469c8a0a968404b83
parent b8f9ec9ad7838049efb3c8f6d45f0f0ca323a6d4
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Tue, 9 Jan 2024 21:51:41 +0400
Allow insecure packages
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/flake.nix b/flake.nix
@@ -11,7 +11,12 @@
nixosModules = import ./modules;
} // flake-utils.lib.eachDefaultSystem (system:
let
- pkgs = nixpkgs.legacyPackages.${system};
+ config = {
+ permittedInsecurePackages = [ "openssl-1.1.1w" ];
+ };
+ pkgs = import nixpkgs {
+ inherit system config;
+ };
inherit (pkgs) lib;
packages = flake-utils.lib.filterPackages system (import ./default.nix {
inherit pkgs;
@@ -20,7 +25,7 @@
{
inherit packages;
legacyPackages = import nixpkgs {
- inherit system;
+ inherit system config;
overlays = [ self.overlays.default ];
crossOverlays = [ self.overlays.default ];
};