From 07bad003ba2de762df2aff7717d0f23f8f07e844 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Mon, 17 Feb 2025 12:49:33 +0100 Subject: [PATCH] Removed insecure package exceptions --- flake.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index a79fd97..1309996 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,7 @@ ... }: let - makeConfig = + mkConfig = machineConfig: userConfig: (nixpkgs.lib.nixosSystem { system = "x86_64-linux"; @@ -46,11 +46,6 @@ nixvim.homeManagerModules.nixvim nur.modules.homeManager.default { - # TODO: Remove insecure package exception - nixpkgs.config.permittedInsecurePackages = [ - "freeimage-unstable-2021-11-01" # For emulation station - "electron-31.7.7" # For feishin - ]; nixpkgs.overlays = [ nix-matlab.overlay ]; @@ -62,7 +57,7 @@ in { nixosConfigurations = { - "20212060" = makeConfig ./machines/laptop.nix { + "20212060" = mkConfig ./machines/laptop.nix { jan = { sudo = true; configuration = ./users/jan.nix;