From 9dd30b2cdd5d330bf3308f0cf4a1d5a5248163ef Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Mon, 28 Jun 2021 22:56:15 -0400 Subject: [PATCH] add NIX_PATH / nixPath compat for flakes --- modules/baseline.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/baseline.nix b/modules/baseline.nix index 3ea8fac..93e0bb6 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, modulesPath, ... }: { time.timeZone = "US/Eastern"; i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ]; @@ -29,6 +29,7 @@ nix = { daemonNiceLevel = 19; daemonIONiceLevel = 7; + nixPath = [ "nixpkgs=${modulesPath}/../.." ]; package = pkgs.nixFlakes; extraOptions = '' experimental-features = nix-command flakes