diff options
| author | seth <[email protected]> | 2023-11-03 13:35:19 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-03 13:35:19 -0400 |
| commit | 48953145a5c26263629f8c8e4e4b93d4ddd6b0cd (patch) | |
| tree | d1ec001b763925fc12b23d65fa312bbda4123d2e /modules/shared/nix.nix | |
| parent | 523444d9bbea6c6b7d0635b9fc2d5aa554b05df1 (diff) | |
modules/nix: use nix.nixPath as nix-path in settings
it seems disabling channels and only setting `nix.nixPath` doesn't allow
nix to actually find the channels from the env var. instead, you must
specify it in nix.conf
Diffstat (limited to 'modules/shared/nix.nix')
| -rw-r--r-- | modules/shared/nix.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/shared/nix.nix b/modules/shared/nix.nix index ba95a71..d496f72 100644 --- a/modules/shared/nix.nix +++ b/modules/shared/nix.nix @@ -1,4 +1,5 @@ { + config, lib, pkgs, inputs, @@ -20,6 +21,7 @@ trusted-substituters = lib.mkDefault ["https://cache.garnix.io"]; trusted-public-keys = lib.mkDefault ["cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="]; + nix-path = config.nix.nixPath; }; gc = { |
