fix insecure package warning

This commit is contained in:
Tyler Starr 2023-12-31 17:23:47 -08:00
parent 746e538584
commit 21f1f79c2f
5 changed files with 3 additions and 4 deletions

View File

@ -19,7 +19,6 @@
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
lib = nixpkgs.lib;
user = "tstarr";

View File

@ -19,6 +19,7 @@
# Add non-free packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [ "electron-25.9.0" "openssl-1.1.1w" ];
nixpkgs.overlays = import ../../lib/overlays.nix;
# Hardware options

View File

@ -18,6 +18,7 @@
# Add non-free packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [ "electron-25.9.0" "openssl-1.1.1w" ];
nixpkgs.overlays = import ../../lib/overlays.nix;
# Use zen kernel

View File

@ -25,6 +25,7 @@
# Add non-free packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ];
nixpkgs.overlays = import ../../lib/overlays.nix;
# Use normal kernel

View File

@ -5,9 +5,6 @@ let
in {
options.modules.devel.notes.enable = lib.mkEnableOption "notes";
config = lib.mkIf cfg.enable {
nixpkgs.config.permittedInsecurePackages = [
"electron-25.9.0"
];
environment.systemPackages = with pkgs; [
pandoc
gollum