move nix.nixPath

This commit is contained in:
Sean Buckley 2021-07-18 15:44:17 -04:00
parent 6f58fe392e
commit f70576d54f
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, modulesPath, ... }:
{ config, pkgs, ... }:
{
time.timeZone = "US/Eastern";
i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ];
@ -29,7 +29,6 @@
nix = {
daemonNiceLevel = 19;
daemonIONiceLevel = 7;
nixPath = [ "nixpkgs=${modulesPath}/../.." ];
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, modulesPath, ... }:
let
powerlineOpts = [
"-mode=flat"
@ -89,6 +89,8 @@ in
environment.variables.PLGO_HOSTNAMEFG = "0";
environment.variables.PLGO_HOSTNAMEBG = "114";
nix.nixPath = [ "nixpkgs=${modulesPath}/../.." ];
programs.tmux = {
enable = true;
terminal = "screen-256color";