🐛 fix insecure packages error
This commit is contained in:
parent
96c388bbac
commit
ad35b322c5
1 changed files with 51 additions and 37 deletions
30
flake.nix
30
flake.nix
|
@ -83,10 +83,10 @@
|
||||||
|
|
||||||
meta = rec {
|
meta = rec {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs {
|
pkgs =
|
||||||
inherit system;
|
let
|
||||||
config.allowUnfree = true;
|
allowUnfree = true;
|
||||||
config.permittedInsecurePackages = [
|
permittedInsecurePackages = [
|
||||||
"electron-24.8.6" # for bitwarden
|
"electron-24.8.6" # for bitwarden
|
||||||
"python-2.7.18.6"
|
"python-2.7.18.6"
|
||||||
"python-2.7.18.7"
|
"python-2.7.18.7"
|
||||||
|
@ -94,23 +94,37 @@
|
||||||
"electron-27.3.11" # for logseq
|
"electron-27.3.11" # for logseq
|
||||||
"electron-28.3.3" # for logseq
|
"electron-28.3.3" # for logseq
|
||||||
];
|
];
|
||||||
|
in
|
||||||
|
import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
config = {
|
||||||
|
inherit allowUnfree permittedInsecurePackages;
|
||||||
|
};
|
||||||
overlays = [
|
overlays = [
|
||||||
(_self: _super: {
|
(_self: _super: {
|
||||||
unstable-small = import nixpkgs-unstable-small {
|
unstable-small = import nixpkgs-unstable-small {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config = {
|
||||||
|
inherit allowUnfree permittedInsecurePackages;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
legacy_2211 = import nixpkgs-legacy_2211 {
|
legacy_2211 = import nixpkgs-legacy_2211 {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config = {
|
||||||
|
inherit allowUnfree permittedInsecurePackages;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
legacy_2311 = import nixpkgs-legacy_2311 {
|
legacy_2311 = import nixpkgs-legacy_2311 {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config = {
|
||||||
|
inherit allowUnfree permittedInsecurePackages;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
legacy_2405 = import nixpkgs-legacy_2405 {
|
legacy_2405 = import nixpkgs-legacy_2405 {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config = {
|
||||||
|
inherit allowUnfree permittedInsecurePackages;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
polygon-art = polygon-art.packages.${system};
|
polygon-art = polygon-art.packages.${system};
|
||||||
landingpage = landingpage.packages.${system}.plain;
|
landingpage = landingpage.packages.${system}.plain;
|
||||||
|
|
Loading…
Reference in a new issue