This commit is contained in:
ChaotiCryptidz 2022-03-09 20:00:29 +00:00
parent c9e3d33261
commit 02f2146ac0
No known key found for this signature in database

View file

@ -1,10 +1,11 @@
{ inputs, config, lib, ... }: {
nix = {
package = pkgs.nixFlakes;
useDaemon = true;
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
extraOptions = lib.optionalString
(lib.versionAtLeast config.nix.package.version "2.4") ''
experimental-features = nix-command flakes
'';
extraOptions = ''
experimental-features = nix-command flakes
'';
};
nixpkgs = {
config = { allowUnfree = true; };