From 5d472b2799fcf362e905e41dd7cd9493359d7460 Mon Sep 17 00:00:00 2001
From: Myned <dev@bjork.tech>
Date: Sat, 1 Mar 2025 10:31:03 -0600
Subject: [PATCH] env: allow unfree pkgs by default

Signed-off-by: Myned <dev@bjork.tech>
---
 options/custom/settings/environment.nix | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/options/custom/settings/environment.nix b/options/custom/settings/environment.nix
index 66d7246..d4af576 100644
--- a/options/custom/settings/environment.nix
+++ b/options/custom/settings/environment.nix
@@ -33,6 +33,10 @@ in {
         # https://wiki.nixos.org/wiki/Wayland#Electron_and_Chromium
         NIXOS_OZONE_WL = mkIf cfg.wayland "1";
         ELECTRON_OZONE_PLATFORM_HINT = mkIf cfg.wayland "auto";
+
+        # Allow unfree packages by default
+        #?? nix shell nixpkgs#PACKAGE --impure
+        NIXPKGS_ALLOW_UNFREE = "1";
       };
 
       shellAliases = {