From b3fb246ce37da848b1602d67582e06fbefdccc7e Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Sun, 12 Apr 2026 22:48:44 +0100 Subject: [PATCH] fix: allow unfree packages to resolve VS Code build failure - Add 'nixpkgs.config.allowUnfree = true' to core/system/default.nix for global NixOS configuration. - Add 'nixpkgs.config.allowUnfree = true' to features/default.nix for Home Manager package set. - This resolves evaluation errors when VS Code is included in the build. --- core/system/default.nix | 2 ++ features/default.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/core/system/default.nix b/core/system/default.nix index f6ed12a..868694f 100644 --- a/core/system/default.nix +++ b/core/system/default.nix @@ -19,4 +19,6 @@ ]; time.timeZone = lib.mkDefault config.nomarchy.system.timezone; + + nixpkgs.config.allowUnfree = true; } diff --git a/features/default.nix b/features/default.nix index 9d3b086..87fc689 100644 --- a/features/default.nix +++ b/features/default.nix @@ -44,6 +44,8 @@ in colorScheme = lib.mkDefault (nomarchyLib.getColorScheme config.nomarchy.theme); + nixpkgs.config.allowUnfree = true; + # Enable neovim program module (required for stylix integration) programs.neovim.enable = lib.mkDefault true;