mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
move NIX_PATH into /run/current-system/sw/
This commit is contained in:
parent
8f1a78d939
commit
90d94edd6c
1 changed files with 7 additions and 2 deletions
|
@ -79,8 +79,15 @@ in
|
||||||
echo
|
echo
|
||||||
'')
|
'')
|
||||||
|
|
||||||
|
(runCommand "nixpkgs" { } ''
|
||||||
|
mkdir -p $out/share
|
||||||
|
ln -s ${modulesPath}/../.. $out/share/nixpkgs
|
||||||
|
'')
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
nix.nixPath = [ "nixpkgs=/run/current-system/sw/share/nixpkgs" ];
|
||||||
|
|
||||||
environment.etc."pip.conf".text = ''
|
environment.etc."pip.conf".text = ''
|
||||||
[install]
|
[install]
|
||||||
no-warn-script-location = false
|
no-warn-script-location = false
|
||||||
|
@ -89,8 +96,6 @@ 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";
|
||||||
|
|
Loading…
Reference in a new issue