diff --git a/nix/hosts/common/default.nix b/nix/hosts/common/default.nix index 134ae97..5a33165 100644 --- a/nix/hosts/common/default.nix +++ b/nix/hosts/common/default.nix @@ -64,7 +64,11 @@ }; nixpkgs = { - config.allowUnfree = true; + config = { + allowUnfree = true; + + permittedInsecurePackages = [ "electron-27.3.11" ]; + }; overlays = [ outputs.overlays.additions diff --git a/nix/hosts/t490/configuration.nix b/nix/hosts/t490/configuration.nix index 3c228b4..abb8c26 100644 --- a/nix/hosts/t490/configuration.nix +++ b/nix/hosts/t490/configuration.nix @@ -10,12 +10,6 @@ ./hardware-configuration.nix ]; - nixpkgs = { - config = { - permittedInsecurePackages = [ "electron-27.3.11" ]; - }; - }; - nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; boot = {