summaryrefslogtreecommitdiff
path: root/nixos/modules/system/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/system/nix')
-rw-r--r--nixos/modules/system/nix/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/nixos/modules/system/nix/default.nix b/nixos/modules/system/nix/default.nix
index 9cefbf5..a02cb6f 100644
--- a/nixos/modules/system/nix/default.nix
+++ b/nixos/modules/system/nix/default.nix
@@ -3,7 +3,12 @@
{
# Nix itself: enable the flake + nix-command features this config relies on.
nix.settings.experimental-features = [ "nix-command" "flakes" ];
- nixpkgs.config.allowUnfree = true;
+ nixpkgs.config = {
+ allowUnfree = true;
+ permittedInsecurePackages = [
+ "electron-39.8.10"
+ ];
+ };
# Automatic garbage collection — drop builds older than a week.
nix.gc = {