Nix : Setup NIX_PATH.

This commit is contained in:
Dmitry Voronin 2024-01-25 13:10:00 +03:00
parent 999533aab8
commit e617f8fe88
5 changed files with 5 additions and 2 deletions

View file

@ -24,6 +24,9 @@ export TEXMFLOCAL="${HOME}/app/tex/data/local"
# Dotfiles exports.
export BASH_MODULE_PATH="${HOME}/.config/bash/module"
# Nix config.
export NIX_PATH="nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/root/.config/linux/nix/${HOSTNAME}/Configuration.nix:/nix/var/nix/profiles/per-user/root/channels"
# Set java version. Sets to latest when not specified.
# Usage: export_java <VERSION>
function export_java() {

View file

@ -2,7 +2,7 @@
{
imports = [
./hardware-configuration.nix
./HardwareConfiguration.nix
../Common.nix
../PowersaveAmd.nix
../AmdGpu.nix

View file

@ -2,7 +2,7 @@
{
imports = [
./hardware-configuration.nix
./HardwareConfiguration.nix
./Fprint.nix
../Common.nix
../PowersaveIntel.nix