diff --git a/modules/cli.nix b/modules/cli.nix index 0c751bd..37ad2fc 100644 --- a/modules/cli.nix +++ b/modules/cli.nix @@ -79,8 +79,15 @@ in 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 = '' [install] no-warn-script-location = false @@ -89,8 +96,6 @@ in environment.variables.PLGO_HOSTNAMEFG = "0"; environment.variables.PLGO_HOSTNAMEBG = "114"; - nix.nixPath = [ "nixpkgs=${modulesPath}/../.." ]; - programs.tmux = { enable = true; terminal = "screen-256color";