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"; time.timeZone = "US/Eastern";
i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ]; i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ];
@ -29,7 +29,6 @@
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

View file

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