diff options
author | makefu <github@syntax-fehler.de> | 2023-06-11 00:32:31 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2023-06-11 00:32:31 +0200 |
commit | 30830e196fe7b1035d613185ce1f0c6bcad5eb6c (patch) | |
tree | 5a5ec007305a2302531e139f523b85fa6bd5fef6 | |
parent | 0dd1ead44a51bbea8d8c29cb3d78856b3b3fe2d3 (diff) |
minimal: remove NIX_PATH
-rw-r--r-- | 2configs/minimal.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/2configs/minimal.nix b/2configs/minimal.nix index 04c997b54..e24eae61b 100644 --- a/2configs/minimal.nix +++ b/2configs/minimal.nix @@ -1,4 +1,4 @@ -{ lib, pkgs, config, ... }: +{ lib, pkgs, config, nixpkgs, ... }: # minimal subset of sane configuration for stockholm { # nobody needs this @@ -25,12 +25,11 @@ services.openssh.enable = true; # we use stockholm via populate - nix.nixPath = [ "/var/src" ]; + nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; environment.variables = let ca-bundle = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; in { - NIX_PATH = lib.mkForce "/var/src"; EDITOR = lib.mkForce "vim"; CURL_CA_BUNDLE = ca-bundle; GIT_SSL_CAINFO = ca-bundle; |