Flake doesn't respect allowUnfree - FIXED

Hello! For the past couple of days I had issues with allowUnfree in my flake.
My flake is avaible at https://github.com/susanthenerd/dotfiles.

One error I’m getting due to it is this one, and another is that I can’t install skypeforlinux

error: attribute 'allowUnfree' missing

       at /nix/store/176jd5dy4cicxjci6qjcxhvc9z4d0saj-source/nixos/modules/hardware/all-firmware.nix:72:47:

           71|       assertions = [{
           72|         assertion = !cfg.enableAllFirmware || config.nixpkgs.config.allowUnfree;
             |                                               ^
           73|         message = ''

Thanks,
Susan

Do you have an example of failing evaluation? I tried this and it worked:

 % nix eval github:susanthenerd/dotfiles#nixosConfigurations.framework.config.system.build.toplevel.outPath
trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05
trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05
trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05
"/nix/store/1fs71vfmnqjgdp7cdwjbklngvpznp7sx-nixos-system-framework-23.11.20230808.41c7605"

I actually fixed it a couple of hours ago and pushed that commit while testing. So that’s the reason is now working.

1 Like

What was the fix? Don’t leave us in the dark! :sob:

(I am also running into this issue…)