From 26e22d1ac8f80cdad717826b513c3e1df650dd19 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 17 Aug 2021 11:29:43 -0400 Subject: [PATCH] move NIX_PATH from baseline to cli --- modules/baseline.nix | 3 --- modules/cli.nix | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/baseline.nix b/modules/baseline.nix index a0b273f..0ee7609 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -13,13 +13,10 @@ nixpkgs.config.allowUnfree = true; environment.variables.NIXPKGS_ALLOW_UNFREE = "1"; - environment.etc.nixpkgs.source = pkgs.path; environment.systemPackages = map (x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake github:buckley310/nixos-config")) [ "switch" "build" "boot" ]; - nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ]; - systemd.tmpfiles.rules = [ "e /nix/var/log - - - 30d" "e /home/sean/Downloads - - - 9d" diff --git a/modules/cli.nix b/modules/cli.nix index dff0880..541a1fd 100644 --- a/modules/cli.nix +++ b/modules/cli.nix @@ -80,6 +80,9 @@ in ]; + environment.etc.nixpkgs.source = pkgs.path; + nix.nixPath = [ "nixpkgs=/etc/nixpkgs" ]; + environment.etc."pip.conf".text = '' [install] no-warn-script-location = false