feat(nix): use stable nix, don't allow broken and insecure packages

This commit is contained in:
steveej 2023-01-26 11:29:57 +01:00
parent 18065c691c
commit eae8f1319e
2 changed files with 3 additions and 5 deletions

View file

@ -9,12 +9,11 @@ in {
nixpkgs.overlays = builtins.attrValues (import ../../overlays); nixpkgs.overlays = builtins.attrValues (import ../../overlays);
nixpkgs.config = { nixpkgs.config = {
allowBroken = true; allowBroken = false;
allowUnfree = true; allowUnfree = true;
permittedInsecurePackages = [ permittedInsecurePackages = [ ];
"electron-17.4.1" };
];
nix.settings = { nix.settings = {
experimental-features = experimental-features =

View file

@ -18,7 +18,6 @@
nix.maxJobs = lib.mkDefault "auto"; nix.maxJobs = lib.mkDefault "auto";
nix.buildCores = lib.mkDefault 0; nix.buildCores = lib.mkDefault 0;
nix.useSandbox = true; nix.useSandbox = true;
nix.package = pkgs.nixUnstable;
environment.etc."lvm/lvm.conf".text = '' environment.etc."lvm/lvm.conf".text = ''
devices { devices {