From 0e205a96d9d3e398dc1049e75f35604ea60de679 Mon Sep 17 00:00:00 2001 From: Julian Mutter Date: Thu, 1 Feb 2024 20:20:58 +0100 Subject: [PATCH] add nixpkgs override to allow unfree packages --- flake.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/flake.nix b/flake.nix index 35ad6b9..3a63f40 100644 --- a/flake.nix +++ b/flake.nix @@ -38,5 +38,21 @@ title = "Julian's dotfiles"; }; }; + + # The attribute set specified here will be passed directly to NixPkgs when + # instantiating the package set. + channels-config = { + # Allow unfree packages. + allowUnfree = true; + + # Allow certain insecure packages + # permittedInsecurePackages = [ "firefox-100.0.0" ]; + + # Additional configuration for specific packages. + config = { + # For example, enable smartcard support in Firefox. + # firefox.smartcardSupport = true; + }; + }; }; }