🐛 fix insecure packages error

This commit is contained in:
Ingolf Wagner 2024-09-01 19:32:28 +07:00
parent 96c388bbac
commit ad35b322c5
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -83,43 +83,57 @@
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"
"python-2.7.18.8" "python-2.7.18.8"
"electron-27.3.11" # for logseq "electron-27.3.11" # for logseq
"electron-28.3.3" # for logseq "electron-28.3.3" # for logseq
]; ];
overlays = [ in
(_self: _super: { import nixpkgs {
unstable-small = import nixpkgs-unstable-small { inherit system;
inherit system; config = {
config.allowUnfree = true; inherit allowUnfree permittedInsecurePackages;
}; };
legacy_2211 = import nixpkgs-legacy_2211 { overlays = [
inherit system; (_self: _super: {
config.allowUnfree = true; unstable-small = import nixpkgs-unstable-small {
}; inherit system;
legacy_2311 = import nixpkgs-legacy_2311 { config = {
inherit system; inherit allowUnfree permittedInsecurePackages;
config.allowUnfree = true; };
}; };
legacy_2405 = import nixpkgs-legacy_2405 { legacy_2211 = import nixpkgs-legacy_2211 {
inherit system; inherit system;
config.allowUnfree = true; config = {
}; inherit allowUnfree permittedInsecurePackages;
polygon-art = polygon-art.packages.${system}; };
landingpage = landingpage.packages.${system}.plain; };
kmonad = kmonad.packages.${system}.kmonad; legacy_2311 = import nixpkgs-legacy_2311 {
tasksh = taskshell.packages.${system}.tasksh; inherit system;
inherit (self.packages.${system}) otpmenu taskwarrior-hooks nsxiv; config = {
}) inherit allowUnfree permittedInsecurePackages;
]; };
}; };
legacy_2405 = import nixpkgs-legacy_2405 {
inherit system;
config = {
inherit allowUnfree permittedInsecurePackages;
};
};
polygon-art = polygon-art.packages.${system};
landingpage = landingpage.packages.${system}.plain;
kmonad = kmonad.packages.${system}.kmonad;
tasksh = taskshell.packages.${system}.tasksh;
inherit (self.packages.${system}) otpmenu taskwarrior-hooks nsxiv;
})
];
};
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
assets = ./assets; assets = ./assets;