# AllowUnfree doesn't work with Flake managed system

**URL:** https://discourse.nixos.org/t/allowunfree-doesnt-work-with-flake-managed-system/21798
**Category:** Help
**Created:** [September 18, 2022, 11:04pm UTC](https://discourse.nixos.org/t/allowunfree-doesnt-work-with-flake-managed-system/21798 "2022-09-18T23:04:15Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![Misterio](https://discourse.nixos.org/user_avatar/discourse.nixos.org/misterio/32/5020_2.png) [@Misterio](https://discourse.nixos.org/u/Misterio)
#### Post date: [September 19, 2022, 3:25pm UTC](https://discourse.nixos.org/t/allowunfree-doesnt-work-with-flake-managed-system/21798/13 "2022-09-19T15:25:41Z")

</div>

Glad you got it working.

In other news, the minimal (similarly to the standard) template now also instantiates nixpkgs i.e. you can set `allowUnfree` in the flake: [https://github.com/Misterio77/nix-starter-configs/blob/2e4b816bd6702621417c6a2ede9be3a4d019e0aa/minimal/flake.nix#L31](https://github.com/Misterio77/nix-starter-configs/blob/2e4b816bd6702621417c6a2ede9be3a4d019e0aa/minimal/flake.nix#L31)

---

_[View the full topic](https://discourse.nixos.org/t/allowunfree-doesnt-work-with-flake-managed-system/21798)._
