mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
add NIX_PATH / nixPath compat for flakes
This commit is contained in:
parent
8d5f46c747
commit
9dd30b2cdd
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, modulesPath, ... }:
|
||||||
{
|
{
|
||||||
time.timeZone = "US/Eastern";
|
time.timeZone = "US/Eastern";
|
||||||
i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
||||||
|
@ -29,6 +29,7 @@
|
||||||
nix = {
|
nix = {
|
||||||
daemonNiceLevel = 19;
|
daemonNiceLevel = 19;
|
||||||
daemonIONiceLevel = 7;
|
daemonIONiceLevel = 7;
|
||||||
|
nixPath = [ "nixpkgs=${modulesPath}/../.." ];
|
||||||
package = pkgs.nixFlakes;
|
package = pkgs.nixFlakes;
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
|
Loading…
Reference in a new issue