Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

lilyball/nix-env.fish

Nix environment setup for the fish shell

lilyball/nix-env.fish.json
{
"createdAt": "2019-06-24T05:51:36Z",
"defaultBranch": "master",
"description": "Nix environment setup for the fish shell",
"fullName": "lilyball/nix-env.fish",
"homepage": "",
"language": "Shell",
"name": "nix-env.fish",
"pushedAt": "2021-11-29T19:20:44Z",
"stargazersCount": 301,
"topics": [
"fish-plugin",
"fish-shell",
"fisher"
],
"updatedAt": "2025-09-15T19:07:17Z",
"url": "https://github.com/lilyball/nix-env.fish"
}

Sets up the Nix environment for a non-NixOS Fish shell.

Beyond just setting up $PATH and the various $NIX_* environment variables, this also sets up $fish_function_path and $fish_complete_path to include any Nix-installed Fish functions/completions, and sources any Nix-installed Fish conf.d.

Any Fish package manager should be able to install this.

fisher install lilyball/nix-env.fish

You can install this manually by copying or symlinking the conf.d/nix-env.fish file into your ~/.config/fish/conf.d/ folder.