From f70576d54f61eccc0757eb2b9b10d62f974a1616 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sun, 18 Jul 2021 15:44:17 -0400 Subject: [PATCH] move nix.nixPath --- modules/baseline.nix | 3 +-- modules/cli.nix | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/baseline.nix b/modules/baseline.nix index 4aa340d..be59784 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -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 diff --git a/modules/cli.nix b/modules/cli.nix index 135554b..0c751bd 100644 --- a/modules/cli.nix +++ b/modules/cli.nix @@ -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";